You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/04/26 21:08:15 UTC

[jira] [Comment Edited] (CB-1480) navigator.network.connection does not update when re-activating application.

    [ https://issues.apache.org/jira/browse/CB-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643142#comment-13643142 ] 

Benn Mapes edited comment on CB-1480 at 4/26/13 7:06 PM:
---------------------------------------------------------

Fix: In the NetworkStatus.cs plugin add
{code}
public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
{
    this.getConnectionInfo("");
}
{code}
                
      was (Author: bennmapes):
    Fix: In the NetworkStatus.cs plugin add
{code}
public override void OnResume(object sender, Microsoft.Phone.Shell.ActivatedEventArgs e)
{
    this.getConnectionInfo("");
}
{/code}
                  
> navigator.network.connection does not update when re-activating application.
> ----------------------------------------------------------------------------
>
>                 Key: CB-1480
>                 URL: https://issues.apache.org/jira/browse/CB-1480
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 2.0.0
>         Environment: Window Phone 7 Device
> Nokia Lumia
> Caodova 2.0
> Jquery
> JqueryMobile 1.0
> OS - windows
>            Reporter: jai
>            Assignee: Jesse MacFadyen
>             Fix For: 2.8.0
>
>         Attachments: index.html
>
>
> Use Window Phone 7 Device - Jquery mobile - cordova 2.0
> 1. Created the home page, Load the other pages via jquerymobile, so pages are loaded using jquery. (i.e) javascripts are included only on home page. 
> 2. While active in the internal page on the apps, navaigate to windows - settings -> "wifi" - off. SO now no networks available. 
> 3. Use back button to navigate to Apps. It will stay on the page where we left. 
> 4. moved to next page & button press & so .... Does not change the network.connection type. It still returns as "wifi" 
> 5. Reloaded the home page only changes network.connection.type original value. 
> Shall we to include cordovo.js on all page to get correct connection type? Does it cache?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira