AndroidManifest.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:dist="http://schemas.android.com/apk/distribution"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. package="org.cocos2dx.javascript">
  6. <dist:module dist:instant="true" />
  7. <application
  8. android:allowBackup="true"
  9. android:icon="@mipmap/ic_launcher"
  10. android:label="@string/app_name"
  11. android:roundIcon="@mipmap/ic_launcher"
  12. android:usesCleartextTraffic="true"
  13. android:supportsRtl="true">
  14. <meta-data
  15. android:name="aia-compat-api-min-version"
  16. android:value="1" />
  17. <meta-data android:name="android.app.lib_name"
  18. android:value="cocos2djs" />
  19. <activity
  20. android:name="org.cocos2dx.javascript.AppActivity"
  21. android:screenOrientation="sensorLandscape"
  22. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
  23. android:label="@string/app_name"
  24. android:launchMode="singleTask"
  25. android:taskAffinity=""
  26. android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
  27. <intent-filter android:order="1">
  28. <action android:name="android.intent.action.VIEW" />
  29. <category android:name="android.intent.category.BROWSABLE" />
  30. <category android:name="android.intent.category.DEFAULT" />
  31. </intent-filter>
  32. <intent-filter>
  33. <action android:name="android.intent.action.MAIN" />
  34. <category android:name="android.intent.category.LAUNCHER" />
  35. </intent-filter>
  36. </activity>
  37. </application>
  38. <uses-feature android:glEsVersion="0x00020000" />
  39. <uses-permission android:name="android.permission.INTERNET"/>
  40. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
  41. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
  42. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  43. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  44. <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
  45. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  46. <uses-permission android:name="android.permission.RESTART_PACKAGES" />
  47. <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
  48. tools:ignore="ProtectedPermissions" />
  49. <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
  50. </manifest>