mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-03 00:00:03 +08:00
javascritp should clobber navigator.connection instead of navigator.network
This commit is contained in:
@@ -8,7 +8,7 @@ id="org.apache.cordova.core.NetworkManager"
|
||||
<name>Network Information</name>
|
||||
|
||||
<js-module src="www/network.js" name="network">
|
||||
<clobbers target="navigator.network" />
|
||||
<clobbers target="navigator.connection" />
|
||||
</js-module>
|
||||
|
||||
<!-- android -->
|
||||
|
||||
Reference in New Issue
Block a user