1、android中删除所有关于小米推送的权限和配置。
2、删除个推中下面的服务,解决小米5手机中无法获取clientId的问题
<service
android:name="com.igexin.download.DownloadService"
android:process=":pushservice"/>
<receiver android:name="com.igexin.download.DownloadReceiver">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
</intent-filter>
</receiver>
<provider
android:name="com.igexin.download.DownloadProvider"
android:authorities="downloads.com.tengluo.zhxf"
android:exported="true"
android:process=":pushservice"/>
<receiver android:name="io.dcloud.feature.apsGt.GTNotificationReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="com.tengluo.zfapp.__CREATE_NOTIFICATION"/>
<action android:name="com.tengluo.zfapp.__REMOVE_NOTIFICATION"/>
<action android:name="com.tengluo.zfapp.__CLEAR_NOTIFICATION"/>
<action android:name="com.tengluo.zfapp.__CLILK_NOTIFICATION"/>
</intent-filter>
</receiver>
0 个评论
要回复文章请先登录或注册