added Network State permission for Android

This commit is contained in:
hermwong 2013-06-11 11:40:19 -07:00
parent f9402f0061
commit 53210d77ea

View File

@ -19,6 +19,10 @@ id="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" />
</platform> </platform>
@ -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" />