Crosswalk runtime needs the two permissions to auto detect connection status.
See more details at: https://crosswalk-project.org/jira/browse/XWALK-1324 Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/4a67dd2e Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/4a67dd2e Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/4a67dd2e Branch: refs/heads/pluggable_webview Commit: 4a67dd2e28aed257c85b75c11026ae7a2a19c2ad Parents: bd806a3 Author: Ningxin Hu <[email protected]> Authored: Mon Apr 21 15:17:23 2014 +0800 Committer: Ian Clelland <[email protected]> Committed: Tue Apr 29 22:50:11 2014 -0400 ---------------------------------------------------------------------- bin/templates/project/AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/4a67dd2e/bin/templates/project/AndroidManifest.xml ---------------------------------------------------------------------- diff --git a/bin/templates/project/AndroidManifest.xml b/bin/templates/project/AndroidManifest.xml index b031b60..decb971 100644 --- a/bin/templates/project/AndroidManifest.xml +++ b/bin/templates/project/AndroidManifest.xml @@ -29,6 +29,8 @@ /> <uses-permission android:name="android.permission.INTERNET" /> + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <application android:icon="@drawable/icon" android:label="@string/app_name" android:hardwareAccelerated="true">
