63 lines
2.9 KiB
XML
63 lines
2.9 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||
package="com.example.star_lock"
|
||
xmlns:tools="http://schemas.android.com/tools">
|
||
<!-- 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"/>
|
||
|
||
<application android:label="星锁" android:name="${applicationName}" android:icon="@mipmap/ic_logo">
|
||
<!-- 请填写你自己的- appKey -->
|
||
<meta-data android:name="com.alibaba.app.appkey" android:value="333904040"/>
|
||
<!-- 请填写你自己的appSecret -->
|
||
<meta-data android:name="com.alibaba.app.appsecret" android:value="c316965fe0a74fc9a481a5c44a535dc2"/>
|
||
|
||
<!-- 华为通道的参数appid -->
|
||
<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="" />
|
||
|
||
<!-- 消息接收监听器 (用户可自主扩展) -->
|
||
<receiver
|
||
android:name="cn.starlock.lock.MyMessageReceiver"
|
||
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>
|
||
</application>
|
||
|
||
</manifest>
|