mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-05-10 00:00:02 +08:00
refactor: Removed all references of deprecated navigator.network (#117)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user