2023-07-10 17:50:31 +08:00
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-07-26 09:27:43 +08:00
|
|
|
|
package="com.example.star_lock"
|
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2023-07-10 17:50:31 +08:00
|
|
|
|
<!-- The INTERNET permission is required for development. Specifically,
|
|
|
|
|
|
the Flutter tool needs it to communicate with the running application
|
|
|
|
|
|
to allow setting breakpoints, to provide hot reload, etc.
|
|
|
|
|
|
-->
|
|
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
|
|
|
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
2024-01-18 11:25:34 +08:00
|
|
|
|
|
2024-01-24 16:02:57 +08:00
|
|
|
|
<application android:label="星锁" android:name="${applicationName}" android:icon="@mipmap/ic_logo">
|
2023-11-01 14:18:52 +08:00
|
|
|
|
<!-- 请填写你自己的- appKey -->
|
2024-01-18 11:25:34 +08:00
|
|
|
|
<meta-data android:name="com.alibaba.app.appkey" android:value="333904040"/>
|
2023-11-01 14:18:52 +08:00
|
|
|
|
<!-- 请填写你自己的appSecret -->
|
2024-01-18 11:25:34 +08:00
|
|
|
|
<meta-data android:name="com.alibaba.app.appsecret" android:value="c316965fe0a74fc9a481a5c44a535dc2"/>
|
2023-11-01 14:18:52 +08:00
|
|
|
|
|
2024-01-18 11:25:34 +08:00
|
|
|
|
<!-- 华为通道的参数appid -->
|
2023-11-01 14:18:52 +08:00
|
|
|
|
<meta-data android:name="com.huawei.hms.client.appid" android:value="appid=xxxxx" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- vivo通道的参数api_key为appkey -->
|
|
|
|
|
|
<meta-data android:name="com.vivo.push.api_key" android:value="" />
|
|
|
|
|
|
<meta-data android:name="com.vivo.push.app_id" android:value="" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- honor通道的参数-->
|
|
|
|
|
|
<meta-data android:name="com.hihonor.push.app_id" android:value="" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- oppo -->
|
|
|
|
|
|
<meta-data android:name="com.oppo.push.key" android:value="" />
|
|
|
|
|
|
<meta-data android:name="com.oppo.push.secret" android:value="" />
|
|
|
|
|
|
<!-- 小米-->
|
|
|
|
|
|
<meta-data android:name="com.xiaomi.push.id" android:value="id=2222222222222222222" />
|
|
|
|
|
|
<meta-data android:name="com.xiaomi.push.key" android:value="id=5555555555555" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 魅族-->
|
|
|
|
|
|
<meta-data android:name="com.meizu.push.id" android:value="" />
|
|
|
|
|
|
<meta-data android:name="com.meizu.push.key" android:value="" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- fcm -->
|
|
|
|
|
|
<meta-data android:name="com.gcm.push.sendid" android:value="id=999999999999" />
|
|
|
|
|
|
<meta-data android:name="com.gcm.push.applicationid" android:value="" />
|
|
|
|
|
|
<meta-data android:name="com.gcm.push.projectid" android:value="" />
|
|
|
|
|
|
<meta-data android:name="com.gcm.push.api.key" android:value="" />
|
2024-01-18 11:25:34 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 消息接收监听器 (用户可自主扩展) -->
|
|
|
|
|
|
<receiver
|
2024-01-19 11:45:34 +08:00
|
|
|
|
android:name="cn.starlock.lock.MyMessageReceiver"
|
2024-01-18 11:25:34 +08:00
|
|
|
|
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>
|
2023-11-01 14:18:52 +08:00
|
|
|
|
</application>
|
|
|
|
|
|
|
2023-07-10 17:50:31 +08:00
|
|
|
|
</manifest>
|