|
@@ -1,31 +1,32 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:dist="http://schemas.android.com/apk/distribution"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- package="org.cocos2dx.javascript">
|
|
|
+ xmlns:dist="http://schemas.android.com/apk/distribution"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ package="org.cocos2dx.javascript">
|
|
|
+
|
|
|
<dist:module dist:instant="true" />
|
|
|
<application
|
|
|
- android:allowBackup="true"
|
|
|
- android:icon="@mipmap/ic_launcher"
|
|
|
- android:label="@string/app_name"
|
|
|
- android:roundIcon="@mipmap/ic_launcher"
|
|
|
- android:usesCleartextTraffic="true"
|
|
|
- android:supportsRtl="true">
|
|
|
+ android:allowBackup="true"
|
|
|
+ android:icon="@drawable/icon"
|
|
|
+ android:label="@string/app_name"
|
|
|
+ android:supportsRtl="true"
|
|
|
+ android:usesCleartextTraffic="true">
|
|
|
<meta-data
|
|
|
- android:name="aia-compat-api-min-version"
|
|
|
- android:value="1" />
|
|
|
+ android:name="aia-compat-api-min-version"
|
|
|
+ android:value="1" />
|
|
|
|
|
|
- <meta-data android:name="android.app.lib_name"
|
|
|
- android:value="cocos2djs" />
|
|
|
+ <meta-data
|
|
|
+ android:name="android.app.lib_name"
|
|
|
+ android:value="cocos2djs" />
|
|
|
|
|
|
<activity
|
|
|
- android:name="org.cocos2dx.javascript.AppActivity"
|
|
|
- android:screenOrientation="sensorLandscape"
|
|
|
- android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
|
|
|
- android:label="@string/app_name"
|
|
|
- android:launchMode="singleTask"
|
|
|
- android:taskAffinity=""
|
|
|
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|
|
|
+ android:name="org.cocos2dx.javascript.AppActivity"
|
|
|
+ android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
|
|
|
+ android:label="@string/app_name"
|
|
|
+ android:launchMode="singleTask"
|
|
|
+ android:screenOrientation="sensorLandscape"
|
|
|
+ android:taskAffinity=""
|
|
|
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
|
|
|
|
|
|
<intent-filter android:order="1">
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
@@ -41,15 +42,17 @@
|
|
|
</application>
|
|
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" />
|
|
|
- <uses-permission android:name="android.permission.INTERNET"/>
|
|
|
- <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
|
|
|
- <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
|
|
|
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
- <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
|
|
- <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
|
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
|
+
|
|
|
+ <uses-permission android:name="android.permission.INTERNET" />
|
|
|
+ <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
<uses-permission android:name="android.permission.RESTART_PACKAGES" />
|
|
|
- <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
|
- tools:ignore="ProtectedPermissions" />
|
|
|
+ <uses-permission
|
|
|
+ android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
|
|
|
+ tools:ignore="ProtectedPermissions" />
|
|
|
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
|
|
|
</manifest>
|