问题描述
我想GCM通知发送到设备小蜜红米手机1S,没有得到设备上的通知,而相同的通知是越来越传递到其他设备和消息计数的失败是0.Can谁能告诉问题。我已经调试它没有收到关于的onMessage
方法的调用。
Xiaomi for security purposes disables the Notification for each Application. Follow these steps to receive messages in background once they quit the app using cleaner.
- Enable Autostart
- Enable Floating and Lock Screen Notification
Enable AutoStart
Open Security App.
Got to Permissions, then Click on Auto Start Management.
Add/Enable auto start apps (e.g. Whatsapp).
Enable Floating and Lock Screen Notification
Open Settings App.
Click on Notifications, then click on Manage Notifications.
Tap on the App which you are looking for (e.g. WhatsApp).
Enable Show in notification shade / Show on lockscreen and in drop down option.
For Reference check this out : http://support.hike.in/entries/55998480-I-m-not-getting-notification-on-my-Xiaomi-Phone-For-MIUI-6-
这篇关于GCM通知对移动设备中的一个未接收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!