AndroidManifest.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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="@drawable/icon"
  10. android:label="@string/app_name"
  11. android:supportsRtl="true"
  12. android:usesCleartextTraffic="true">
  13. <meta-data
  14. android:name="aia-compat-api-min-version"
  15. android:value="1" />
  16. <meta-data
  17. android:name="android.app.lib_name"
  18. android:value="cocos2djs" />
  19. <activity
  20. android:name="org.cocos2dx.javascript.AppActivity"
  21. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
  22. android:label="@string/app_name"
  23. android:launchMode="singleTask"
  24. android:screenOrientation="sensorLandscape"
  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
  48. android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
  49. tools:ignore="ProtectedPermissions" />
  50. <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
  51. </manifest>