143 lines
6.6 KiB
XML
143 lines
6.6 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
||
<uses-permission android:name="android.permission.INTERNET" />
|
||
<uses-permission
|
||
android:name="android.permission.READ_EXTERNAL_STORAGE"
|
||
android:maxSdkVersion="32" />
|
||
<uses-permission
|
||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||
android:maxSdkVersion="32" />
|
||
<uses-permission
|
||
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
|
||
android:maxSdkVersion="32" />
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||
<uses-permission android:name="android.permission.CAMERA" />
|
||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||
<!--定位权限-->
|
||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||
<!--用于申请调用A-GPS模块-->
|
||
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"></uses-permission>
|
||
<!--如果设置了target >= 28 如果需要启动后台定位则必须声明这个权限-->
|
||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||
<!--如果您的应用需要后台定位权限,且有可能运行在Android Q设备上,并且设置了target>28,必须增加这个权限声明-->
|
||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||
|
||
|
||
<application
|
||
android:requestLegacyExternalStorage="true"
|
||
android:name="${applicationName}"
|
||
android:icon="@mipmap/logo"
|
||
android:label="小羚羚">
|
||
|
||
<!-- 高德地图Key -->
|
||
<meta-data
|
||
android:name="com.amap.api.v2.apikey"
|
||
android:value="92495660f7bc990cb475426c47c03b65" />
|
||
|
||
<!-- 高德地图定位服务 -->
|
||
<service android:name="com.amap.api.location.APSService" />
|
||
<!--高德导航-->
|
||
<activity
|
||
android:name="com.amap.api.navi.AmapRouteActivity"
|
||
android:theme="@android:style/Theme.NoTitleBar"
|
||
android:configChanges="orientation|keyboardHidden|screenSize|navigation" />
|
||
<!--自定义导航 Activity-->
|
||
<activity
|
||
android:name="com.lnkj.ln_jq_app.NavigationActivity"
|
||
android:theme="@android:style/Theme.NoTitleBar"
|
||
android:configChanges="orientation|keyboardHidden|screenSize|navigation"
|
||
android:screenOrientation="portrait" />
|
||
<!--搜索目的地 Activity-->
|
||
<activity
|
||
android:name="com.lnkj.ln_jq_app.SearchDestinationActivity"
|
||
android:theme="@android:style/Theme.NoTitleBar"
|
||
android:configChanges="orientation|keyboardHidden|screenSize|navigation"
|
||
android:screenOrientation="portrait"
|
||
android:windowSoftInputMode="adjustResize" />
|
||
<activity
|
||
android:name=".MainActivity"
|
||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||
android:exported="true"
|
||
android:hardwareAccelerated="true"
|
||
android:launchMode="singleTop"
|
||
android:taskAffinity=""
|
||
android:theme="@style/LaunchTheme"
|
||
android:windowSoftInputMode="adjustResize">
|
||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||
the Android process has started. This theme is visible to the user
|
||
while the Flutter UI initializes. After that, this theme continues
|
||
to determine the Window background behind the Flutter UI. -->
|
||
<meta-data
|
||
android:name="io.flutter.embedding.android.NormalTheme"
|
||
android:resource="@style/NormalTheme" />
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN" />
|
||
<category android:name="android.intent.category.LAUNCHER" />
|
||
</intent-filter>
|
||
</activity>
|
||
<!-- Don't delete the meta-data below.
|
||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||
<meta-data
|
||
android:name="flutterEmbedding"
|
||
android:value="2" />
|
||
|
||
<!-- 请填写你自己的- appKey -->
|
||
<meta-data
|
||
android:name="com.alibaba.app.appkey"
|
||
android:value="335642645" />
|
||
<!-- 请填写你自己的appSecret -->
|
||
<meta-data
|
||
android:name="com.alibaba.app.appsecret"
|
||
android:value="39628204345a4240b5b645b68a5896c7" />
|
||
|
||
|
||
|
||
<!-- 接收推送消息 -->
|
||
<receiver
|
||
android:name="com.aliyun.ams.push.AliyunPushMessageReceiver"
|
||
android:exported="false"> <!-- 为保证receiver安全,建议设置不可导出,如需对其他应用开放可通过android:permission进行限制 -->
|
||
<intent-filter>
|
||
<action android:name="com.alibaba.push2.action.NOTIFICATION_OPENED" />
|
||
</intent-filter>
|
||
<intent-filter>
|
||
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
|
||
</intent-filter>
|
||
<intent-filter>
|
||
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
|
||
</intent-filter>
|
||
</receiver>
|
||
|
||
<!-- 辅助弹窗Activity -->
|
||
<activity
|
||
android:name="com.aliyun.ams.push.PushPopupActivity"
|
||
android:exported="true">
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.VIEW" />
|
||
|
||
<category android:name="android.intent.category.DEFAULT" />
|
||
<category android:name="android.intent.category.BROWSABLE" />
|
||
|
||
<data
|
||
android:host="${applicationId}"
|
||
android:path="/thirdpush"
|
||
android:scheme="agoo" />
|
||
</intent-filter>
|
||
</activity>
|
||
|
||
</application>
|
||
<!-- Required to query activities that can process text, see:
|
||
https://developer.android.com/training/package-visibility and
|
||
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
||
|
||
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
|
||
<queries>
|
||
<intent>
|
||
<action android:name="android.intent.action.PROCESS_TEXT" />
|
||
<data android:mimeType="text/plain" />
|
||
</intent>
|
||
</queries>
|
||
</manifest>
|