GCM通知对移动设备中的一个未接收通知、设备、GCM

由网友(匆忙走路的人-)分享简介:我想GCM通知发送到设备小蜜红米手机1S,没有得到设备上的通知,而相同的通知是越来越传递到其他设备和消息计数的失败是0.Can谁能告诉问题。我已经调试它没有收到关于的onMessage 方法的调用。   没有得到在应用程序中的任何消息,无论是在前台或应用程序的背景状态,  注册ID是正确的检查它IDE.GCM响应  成...

我想GCM通知发送到设备小蜜红米手机1S,没有得到设备上的通知,而相同的通知是越来越传递到其他设备和消息计数的失败是0.Can谁能告诉问题。我已经调试它没有收到关于的onMessage 方法的调用。

  

没有得到在应用程序中的任何消息,无论是在前台或应用程序的背景状态,  注册ID是正确的检查它IDE.GCM响应  成功:2,失败:0

解决方案

小蜜为安全起见,禁止为每个应用程序的通知。按照这些步骤在后台接收邮件,一旦他们使用清洁退出程序。

启用自动启动启用浮动和锁屏通知

启用自动启动

开放的安全的应用程序。

该杀的权限的,然后点击的自动启动管理的

添加/启用自动启动的应用程序(例如WhatsApp的)。

没有收到推送通知 最新升级华为鸿蒙2.0的方法,一分钟告诉你设备支不支持

启用浮动和锁屏通知

开放的设置的应用程序。

点击上的通知的,然后点击管理通知的

点击上你正在寻找(例如WhatsApp的)的应用程序。

启用的显示在通知栏中/上显示锁定画面,并在下拉的选项。

有关这一点参考检查:http://support.hike.in/entries/55998480-I-m-not-getting-notification-on-my-Xiaomi-Phone-For-MIUI-6-

I am trying to send GCM notification to the device xiaomi redmi 1s, not getting the notification on the device while the same notification is getting delivered to the other devices and the failure for message count is 0.Can anyone please tell the issue.I have debugged it not received any call on onMessage method.

not got any message in the app either in the foreground or in the background state of the application, the registration id is correct checked it in IDE.GCM response is "success":2,"failure":0

解决方案

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-

阅读全文

相关推荐

最新文章