AndroidManifest.xml 2.6 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. <dist:module dist:instant="true" />
  6. <application
  7. android:allowBackup="true"
  8. android:icon="@mipmap/ic_launcher"
  9. android:label="@string/app_name"
  10. android:roundIcon="@mipmap/ic_launcher"
  11. android:usesCleartextTraffic="true"
  12. android:supportsRtl="true">
  13. <meta-data
  14. android:name="aia-compat-api-min-version"
  15. android:value="1" />
  16. <meta-data android:name="android.app.lib_name"
  17. android:value="cocos2djs" />
  18. <activity
  19. android:name="org.cocos2dx.javascript.InstantAppActivity"
  20. android:screenOrientation="sensorLandscape"
  21. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout|uiMode"
  22. android:label="@string/app_name"
  23. android:launchMode="singleTask"
  24. android:taskAffinity=""
  25. android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
  26. android:exported="true">
  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>