2024-03-19 18:26:07 +08:00
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.example.star_lock">
|
2024-01-27 16:05:17 +08:00
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
|
|
|
|
|
|
<!-- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />-->
|
|
|
|
|
|
<!-- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:maxSdkVersion="30" />-->
|
|
|
|
|
|
<!--允许访问网络,必选权限-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
|
|
<!--允许获取精确位置,精准定位必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
|
|
|
|
|
<!--允许获取粗略位置,粗略定位必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
|
|
|
|
|
<!--允许获取设备和运营商信息,用于问题排查和网络定位(无gps情况下的定位),若需网络定位功能则必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/>
|
|
|
|
|
|
<!--允许获取网络状态,用于网络定位(无gps情况下的定位),若需网络定位功能则必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
|
|
<!--允许获取wifi网络信息,用于网络定位(无gps情况下的定位),若需网络定位功能则必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
|
|
|
|
|
<!--允许获取wifi状态改变,用于网络定位(无gps情况下的定位),若需网络定位功能则必选-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
|
|
|
|
|
|
<!--允许写设备缓存,用于问题排查-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
|
|
|
|
|
|
<!--允许写入扩展存储,用于写入缓存定位数据-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
|
|
|
|
<!--允许读设备等信息,用于问题排查-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
|
|
|
|
<!--允许麦克风权限,用于录音发送-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.REORDER_TASKS"/>
|
2024-03-19 18:26:07 +08:00
|
|
|
|
<application android:label="@string/app_name" android:name="android.app.Application" android:icon="@mipmap/ic_launcher">
|
|
|
|
|
|
<meta-data
|
|
|
|
|
|
android:name="flutterEmbedding"
|
|
|
|
|
|
android:value="2" />
|
2024-01-27 16:05:17 +08:00
|
|
|
|
<!-- 配置定位Service -->
|
|
|
|
|
|
<service android:name="com.amap.api.location.APSService"/>
|
2024-03-18 17:15:57 +08:00
|
|
|
|
<activity android:name="com.skychip.lock.MainActivity" android:exported="true" android:screenOrientation="portrait" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
|
2024-01-27 16:05:17 +08:00
|
|
|
|
<!-- Specifies an Android theme to apply to this Activity as soon as
|
2023-07-10 17:50:31 +08:00
|
|
|
|
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. -->
|
2024-01-27 16:05:17 +08:00
|
|
|
|
<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>
|
2024-03-19 18:26:07 +08:00
|
|
|
|
|
2024-03-18 17:15:57 +08:00
|
|
|
|
<receiver android:name="com.skychip.lock.MyMessageReceiver" android:exported="false">
|
2024-01-27 16:05:17 +08:00
|
|
|
|
<!-- 为保证receiver安全,建议设置不可导出,如需对其他应用开放可通过android:permission进行限制 -->
|
|
|
|
|
|
<intent-filter>
|
|
|
|
|
|
<action android:name="com.alibaba.sdk.android.push.intent.MESSAGE"/>
|
|
|
|
|
|
</intent-filter>
|
|
|
|
|
|
<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>
|
2024-03-19 18:26:07 +08:00
|
|
|
|
|
|
|
|
|
|
<service
|
|
|
|
|
|
android:name="com.xiaomi.push.service.XMPushService"
|
|
|
|
|
|
android:process=":pushservice"
|
|
|
|
|
|
tools:replace="android:process">
|
|
|
|
|
|
</service>
|
|
|
|
|
|
|
|
|
|
|
|
<service
|
|
|
|
|
|
android:name="com.xiaomi.push.service.XMJobService"
|
|
|
|
|
|
android:process=":pushservice"
|
|
|
|
|
|
tools:replace="android:process">
|
|
|
|
|
|
</service>
|
|
|
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
|
|
android:name="com.xiaomi.push.service.receivers.PingReceiver"
|
|
|
|
|
|
android:process=":pushservice"
|
|
|
|
|
|
tools:replace="android:process">
|
|
|
|
|
|
</receiver>
|
|
|
|
|
|
<!-- Don't delete the meta-data below.
|
|
|
|
|
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <receiver android:name="com.skychip.lock.JPushEventReceiver"-->
|
|
|
|
|
|
<!-- android:exported="true">-->
|
|
|
|
|
|
<!-- <intent-filter>-->
|
|
|
|
|
|
<!-- <action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />-->
|
|
|
|
|
|
<!-- <category android:name="${applicationId}" />-->
|
|
|
|
|
|
<!-- </intent-filter>-->
|
|
|
|
|
|
<!-- </receiver>-->
|
|
|
|
|
|
<!-- <!– Since JCore2.0.0 Required SDK核心功能–>-->
|
|
|
|
|
|
<!-- <!– 可配置android:process参数将Service放在其他进程中;android:enabled属性不能是false –>-->
|
|
|
|
|
|
<!-- <!– 这个是自定义Service,要继承极光JCommonService,可以在更多手机平台上使得推送通道保持的更稳定 –>-->
|
|
|
|
|
|
<!-- <service android:name=".JPushCustomService"-->
|
|
|
|
|
|
<!-- android:enabled="true"-->
|
|
|
|
|
|
<!-- android:exported="false"-->
|
|
|
|
|
|
<!-- android:process=":pushcore">-->
|
|
|
|
|
|
<!-- <intent-filter>-->
|
|
|
|
|
|
<!-- <action android:name="cn.jiguang.user.service.action" />-->
|
|
|
|
|
|
<!-- </intent-filter>-->
|
|
|
|
|
|
<!-- </service>-->
|
2024-01-27 16:05:17 +08:00
|
|
|
|
</application>
|
2024-03-19 18:26:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
2024-01-30 12:03:30 +08:00
|
|
|
|
</manifest>
|