jwzs/app/src/main/AndroidManifest.xml

54 lines
2.2 KiB
XML
Raw Normal View History

2025-07-01 19:08:46 +08:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".MyApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.jwzs"
2025-08-05 18:29:44 +08:00
tools:replace="android:allowBackup">
2025-07-01 19:08:46 +08:00
2025-07-05 09:11:37 +08:00
2025-08-05 18:29:44 +08:00
<meta-data
android:name="appId"
android:value="${APPID}" /><!-- 应用ID,当应用在平台注册后,由平台生成的平台内唯一标识 -->
<meta-data
android:name="regionalismCode"
android:value="${REGIONALISMCODE}" /><!--应用归属机构代码320000260300对于纯数字字符串请在前面增加“\0”否则将会取出null值字符串 -->
<meta-data
android:name="networkAreaCode"
android:value="${NETWORKAREACODE}" /><!--应用所属网络区域也即应用类型1-2-32对于纯数字字符串请在前面增加“\0”否则将会取出null值字符串 -->
2025-07-01 19:08:46 +08:00
2025-08-05 18:29:44 +08:00
<!-- 添加硬件加速和屏幕方向配置 -->
2025-07-01 19:08:46 +08:00
<activity
android:name=".FirstActivity"
2025-08-05 18:29:44 +08:00
android:configChanges="orientation|screenSize|keyboardHidden"
android:exported="true"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
2025-07-01 19:08:46 +08:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2025-08-05 18:29:44 +08:00
<!-- 非必要可移除 MainActivity -->
2025-07-01 19:08:46 +08:00
<activity
2025-08-05 18:29:44 +08:00
android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="false" />
2025-07-01 19:08:46 +08:00
</application>
2025-08-05 18:29:44 +08:00
<!-- 添加必要权限 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
2025-07-01 19:08:46 +08:00
</manifest>