You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/22 11:31:40 UTC

[GitHub] candemore1024 removed a comment on issue #64: Network.type is throwing as none after 24 hours of idle

candemore1024 removed a comment on issue #64: Network.type is throwing as none after 24 hours of idle
URL: https://github.com/apache/cordova-plugin-network-information/issues/64#issuecomment-414983495
 
 
   @janpio, I will create a new one if you want. As I said, I don't know where is the specific trigger of this issue, my code is:
   
   var networkState = navigator.connection.type;
   if (networkState == Connection.NONE) {
   // alert the user using a dialog (navigator.notification.confirm)
   }
   
   This worked perfect in the past, but not now. sometimes (networkState == Connection.NONE), when the users are confirming that they have connection to internet (wifi or another type).
   
   Thanks in advance!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org