Push permissions required for each channel
最新の更新:2022-11-22
In addition to optional permissions, all required permissions are included in the aar package and no configuration is required.
ENGAGELAB
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!-- Optional, need to be configured by yourself, notification vibration -->
<uses-permission android:name="android.permission.VIBRATE" />
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!-- Optional, need to be configured by yourself, notification vibration -->
<uses-permission android:name="android.permission.VIBRATE" />
このコードブロックは、フローティングウィンドウに表示されます
FCM
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
このコードブロックは、フローティングウィンドウに表示されます
huawei
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE"/>
<permission android:name="${applicationId}.permission.PROCESS_PUSH_MSG"
android:protectionLevel="signature"/>
<permission android:name="${applicationId}.permission.PUSH_PROVIDER"
android:protectionLevel="signature"/>
<permission android:name="${applicationId}.permission.PUSH_WRITE_PROVIDER"
android:protectionLevel="signature"/>
<uses-permission android:name="${applicationId}.permission.PROCESS_PUSH_MSG"/>
<uses-permission android:name="${applicationId}.permission.PUSH_PROVIDER"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA"/>
<queries>
<intent>
<action android:name="com.apptouch.intent.action.update_hms"/>
</intent>
<intent>
<action android:name="com.huawei.appmarket.intent.action.AppDetail"/>
</intent>
<package android:name="com.hisilicon.android.hiRMService"/>
<intent>
<action android:name="com.huawei.hms.core.aidlservice"/>
</intent>
<intent>
<action android:name="com.huawei.hms.core"/>
</intent>
</queries>
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE"/>
<permission android:name="${applicationId}.permission.PROCESS_PUSH_MSG"
android:protectionLevel="signature"/>
<permission android:name="${applicationId}.permission.PUSH_PROVIDER"
android:protectionLevel="signature"/>
<permission android:name="${applicationId}.permission.PUSH_WRITE_PROVIDER"
android:protectionLevel="signature"/>
<uses-permission android:name="${applicationId}.permission.PROCESS_PUSH_MSG"/>
<uses-permission android:name="${applicationId}.permission.PUSH_PROVIDER"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA"/>
<queries>
<intent>
<action android:name="com.apptouch.intent.action.update_hms"/>
</intent>
<intent>
<action android:name="com.huawei.appmarket.intent.action.AppDetail"/>
</intent>
<package android:name="com.hisilicon.android.hiRMService"/>
<intent>
<action android:name="com.huawei.hms.core.aidlservice"/>
</intent>
<intent>
<action android:name="com.huawei.hms.core"/>
</intent>
</queries>
このコードブロックは、フローティングウィンドウに表示されます
mi
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.VIBRATE"/>
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.VIBRATE"/>
このコードブロックは、フローティングウィンドウに表示されます
mz
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.meizu.flyme.permission.PUSH" />
<!-- Optional, need to be configured by yourself, used when compatible with Flyme5 and the push service is an old version -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Optional, need to be configured by yourself, compatible with Flyme5 permission configuration -->
<uses-permission android:name="com.meizu.flyme.push.permission.RECEIVE" />
<permission
android:name="${applicationId}.push.permission.MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.push.permission.MESSAGE" />
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.meizu.flyme.permission.PUSH" />
<!-- Optional, need to be configured by yourself, used when compatible with Flyme5 and the push service is an old version -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Optional, need to be configured by yourself, compatible with Flyme5 permission configuration -->
<uses-permission android:name="com.meizu.flyme.push.permission.RECEIVE" />
<permission
android:name="${applicationId}.push.permission.MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.push.permission.MESSAGE" />
このコードブロックは、フローティングウィンドウに表示されます
##oppo
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE" />
<uses-permission android:name="com.heytap.mcs.permission.RECIEVE_MCS_MESSAGE" />
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE" />
<uses-permission android:name="com.heytap.mcs.permission.RECIEVE_MCS_MESSAGE" />
このコードブロックは、フローティングウィンドウに表示されます
vivo
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.push.permission.UPSTAGESERVICE" />
<!-- Required -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.push.permission.UPSTAGESERVICE" />
このコードブロックは、フローティングウィンドウに表示されます
honor
<!--honor corner mark-->
<uses-permission android:name="com.hihonor.android.launcher.permission.CHANGE_BADGE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!--honor corner mark-->
<uses-permission android:name="com.hihonor.android.launcher.permission.CHANGE_BADGE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
このコードブロックは、フローティングウィンドウに表示されます