通道所需權限說明

最新更新:2022-11-29

除可選權限,必須權限均打進 aar 包,無需配置。

Engagelab

<!-- 必須 --> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <!-- 可選,需自行配置,通知震動 --> <uses-permission android:name="android.permission.VIBRATE" />
              <!-- 必須 -->
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    
    <!-- 可選,需自行配置,通知震動 -->
    <uses-permission android:name="android.permission.VIBRATE" />

        
此代碼塊在浮窗中顯示

google

<!-- 必須 --> <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.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
              <!-- 必須 -->
    <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.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

        
此代碼塊在浮窗中顯示

huawei

<!-- 必須 --> <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.WRITE_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>
              <!-- 必須 -->
    <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.WRITE_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

<!-- 必須 --> <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"/>
              <!-- 必須 -->
    <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

<!-- 必須 --> <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="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="com.meizu.flyme.permission.PUSH" /> <!-- 可選,需自行配置,用於兼容 Flyme5 且推播服務是舊版本的情況--> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 可選,需自行配置,兼容 Flyme5 的權限配置--> <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" />
              <!-- 必須 -->
    <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="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="com.meizu.flyme.permission.PUSH" />
    
    <!-- 可選,需自行配置,用於兼容 Flyme5 且推播服務是舊版本的情況-->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <!-- 可選,需自行配置,兼容 Flyme5 的權限配置-->
    <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

<!-- 必須 --> <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" />
              <!-- 必須 -->
    <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

<!-- 必須 --> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="com.push.permission.UPSTAGESERVICE" />
                  <!-- 必須 -->
        <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
        <uses-permission android:name="com.push.permission.UPSTAGESERVICE" />

        
此代碼塊在浮窗中顯示
在文档中心打开
icon
聯繫銷售