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

ASF subversion and git services commented on CB-8185:
-----------------------------------------------------

Commit 481bdd93b023f808c301943ac6c541e3633aeee4 in 
cordova-plugin-network-information's branch refs/heads/old-ID from 
[~vladimir.kotikov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-network-information.git;h=481bdd9
 ]

CB-8185 Fixes typo in `cordova.platformId`


> Add online and offiline plugin-network-information events support for the 
> Browser platform
> ------------------------------------------------------------------------------------------
>
>                 Key: CB-8185
>                 URL: https://issues.apache.org/jira/browse/CB-8185
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Browser, Plugin Network Information
>            Reporter: Sergey Shakhnazarov
>            Assignee: Vladimir Kotikov
>
> Initial implementation used XHR to check whether we connected to network or 
> not. Two main problems of this approach is that it used CORS and wasn't able 
> to detect local network access.
> So for better compatibility with specs it is better to use browsers native 
> implementation of {{navigator.onLine}} property which properly handles all 
> the aspects of network accessibility.
> {{navigator.onLine}} available for all modern browsers: 
> http://caniuse.com/#feat=online-status



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to