mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-18 21:52:48 +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"/>
|
||||
</feature>
|
||||
</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" />
|
||||
|
||||
@ -30,6 +34,7 @@ id="org.apache.cordova.core.NetworkManager"
|
||||
<param name="ios-package" value="CDVConnection" />
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
<header-file src="src/ios/CDVConnection.h" />
|
||||
<source-file src="src/ios/CDVConnection.m" />
|
||||
<header-file src="src/ios/CDVReachability.h" />
|
||||
|
Loading…
Reference in New Issue
Block a user