Updated Branches:
  refs/heads/master f9402f006 -> 53210d77e

added Network State permission for Android


Project: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/53210d77
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/53210d77
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/53210d77

Branch: refs/heads/master
Commit: 53210d77ea98b2793f76020d96874f94ae9f7013
Parents: f9402f0
Author: hermwong <[email protected]>
Authored: Tue Jun 11 11:40:19 2013 -0700
Committer: hermwong <[email protected]>
Committed: Tue Jun 11 11:40:19 2013 -0700

----------------------------------------------------------------------
 plugin.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/53210d77/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 21bc802..606a883 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -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" />

Reply via email to