mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-19 05:52:49 +08:00
added Network State permission for Android
This commit is contained in:
parent
f9402f0061
commit
53210d77ea
@ -18,6 +18,10 @@ id="org.apache.cordova.core.NetworkManager"
|
|||||||
<param name="android-package" value="org.apache.cordova.core.NetworkManager"/>
|
<param name="android-package" value="org.apache.cordova.core.NetworkManager"/>
|
||||||
</feature>
|
</feature>
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
|
<config-file target="AndroidManifest.xml" parent="/*">
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
</config-file>
|
||||||
|
|
||||||
<source-file src="src/android/NetworkManager.java" target-dr="src/org/apache/cordova/core" />
|
<source-file src="src/android/NetworkManager.java" target-dr="src/org/apache/cordova/core" />
|
||||||
|
|
||||||
@ -30,6 +34,7 @@ id="org.apache.cordova.core.NetworkManager"
|
|||||||
<param name="ios-package" value="CDVConnection" />
|
<param name="ios-package" value="CDVConnection" />
|
||||||
</feature>
|
</feature>
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
<header-file src="src/ios/CDVConnection.h" />
|
<header-file src="src/ios/CDVConnection.h" />
|
||||||
<source-file src="src/ios/CDVConnection.m" />
|
<source-file src="src/ios/CDVConnection.m" />
|
||||||
<header-file src="src/ios/CDVReachability.h" />
|
<header-file src="src/ios/CDVReachability.h" />
|
||||||
|
Loading…
Reference in New Issue
Block a user