refactor: Removed all references of deprecated navigator.network (#117)

This commit is contained in:
Norman Breau
2020-06-10 16:23:06 -03:00
committed by GitHub
parent 4387da910d
commit ab7c85d2e7
4 changed files with 4 additions and 14 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ public class NetworkManager extends CordovaPlugin {
* @return
*/
private void updateConnectionInfo(NetworkInfo info) {
// send update to javascript "navigator.network.connection"
// send update to javascript "navigator.connection"
// Jellybean sends its own info
JSONObject thisInfo = this.getConnectionInfo(info);
if(!thisInfo.equals(lastInfo))