incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1604) natigator.connection not implemented correctly on iOS
Date Wed, 10 Oct 2012 20:03:02 GMT

     [ https://issues.apache.org/jira/browse/CB-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-1604.
-------------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=ffdc81be5a9e462aa909ccd416427a4e2578a8ef
                
> natigator.connection not implemented correctly on iOS
> -----------------------------------------------------
>
>                 Key: CB-1604
>                 URL: https://issues.apache.org/jira/browse/CB-1604
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>             Fix For: 2.2.0
>
>
> I broke this when changing Android from using navigator.network.connection -> navigator.connection.
iOS currently sets navigator.network.connection and fires online/offline events directly instead
of returning multiple getConnectionInfo() callbacks like Android does. 
> The fix here is to change CDVConnection.m to act the same as Android, and just return
a new getConnectionInfo PluginResult when the connection changes.

--
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

Mime
View raw message