Device stop receive push notification from Google cloud messaging

Daniele

I developed an App that receives push notifications from Google Cloud Messaging, messages are sent to broadcast from a server in php through the procedure CURL. Everything is working fine but a device (Android 4.3) a few days does not receive notifications from GCM.

Question: Is there any way (in PHP) to reclaim such registration id are still valid or need to be renewed?

I know the id registration must be renewed when the app is updated or uninstalled and then reinstalled it in this case was not made any changes. In this device other notifications arrive correctly (whatsapp, sms). For my app does not have disabled notifications. I have not updated or uninstalled the app for groped to understand whether the problem is the device or something more obscure.

Now GCM return this (not error): {"multicast_id":6846627542248171696,"success":3,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1442178661471816%5ed68546f7f47ecd"},{"message_id":"0:1442178661471814%5ed68546f7f47ecd"},{"message_id":"0:1442178661472121%5ed68546f7f47ecd"}]}

The DEVICE not receive push notification is 3 but CURL operation return true.

Do you have any suggestions?

Daniele

I have verified that the problem was related to the device and not the Bees google for the non-receipt of the message. An operation CURL but can not return the entire state of the message because of the fact that it is a synchronous operation. I noticed from the console that can pass several minutes before the device returns the code Accepted. The only way to confirm the message was received by the device seems to be an asynchronous operation with an appropriate Java server.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

iOS Push Notification not received on device

분류에서Dev

Android : Google Cloud Messaging Error

분류에서Dev

Restrict receiving push notification to the same device where it has been pushed from

분류에서Dev

Google Cloud Messaging Example Main Thread

분류에서Dev

IP range of google GCM push notification server?

분류에서Dev

How to get device token id of windows phone for push notification?

분류에서Dev

Intercept push notification from showing in app

분류에서Dev

ios - SWRevealViewController segue to last view in navigation controller when receive push notification

분류에서Dev

How to receive & process data when I subscribe to youtube api v3 push notification?

분류에서Dev

Push notification to android from ASP.NET webservices

분류에서Dev

Push notification for azure notification hub

분류에서Dev

SMS receive with no notification android 4.4.2

분류에서Dev

"Google Cloud App Engine Messaging Starter" Project works fine locally but not deployed

분류에서Dev

Google Cloud Messaging API에서 보장 된 전달

분류에서Dev

Push Notification Android

분류에서Dev

push notification using Django

분류에서Dev

IOS, handler push notification

분류에서Dev

ServiceWorker and Push Notification Payload

분류에서Dev

Could not get the message from cloud endpoints starter template to android device

분류에서Dev

How to know if push notification recieved

분류에서Dev

GCM push notification to iOS with content_available (not working to invoke from inactive state)

분류에서Dev

Google Cast Media Player Library - for streaming from Local Device

분류에서Dev

to implement code which can receive continuous data from bluetooth health device and I'm getting runtime error on eclipse.

분류에서Dev

Is Firebase Cloud Messaging indicated for social activity messages

분류에서Dev

Google BigQuery, How to load data from google cloud storage to BigQuery

분류에서Dev

Google Cloud: Compute VM Instances is Auto Shutting Down Daily, how to stop that?

분류에서Dev

Qt의 Android 클라이언트 코드에서 Google-Cloud-Messaging API를 어떻게 호출합니까?

분류에서Dev

How to port an Android app in Blackberry With Push Notification?

분류에서Dev

iOS push notification size limit and chat application

Related 관련 기사

  1. 1

    iOS Push Notification not received on device

  2. 2

    Android : Google Cloud Messaging Error

  3. 3

    Restrict receiving push notification to the same device where it has been pushed from

  4. 4

    Google Cloud Messaging Example Main Thread

  5. 5

    IP range of google GCM push notification server?

  6. 6

    How to get device token id of windows phone for push notification?

  7. 7

    Intercept push notification from showing in app

  8. 8

    ios - SWRevealViewController segue to last view in navigation controller when receive push notification

  9. 9

    How to receive & process data when I subscribe to youtube api v3 push notification?

  10. 10

    Push notification to android from ASP.NET webservices

  11. 11

    Push notification for azure notification hub

  12. 12

    SMS receive with no notification android 4.4.2

  13. 13

    "Google Cloud App Engine Messaging Starter" Project works fine locally but not deployed

  14. 14

    Google Cloud Messaging API에서 보장 된 전달

  15. 15

    Push Notification Android

  16. 16

    push notification using Django

  17. 17

    IOS, handler push notification

  18. 18

    ServiceWorker and Push Notification Payload

  19. 19

    Could not get the message from cloud endpoints starter template to android device

  20. 20

    How to know if push notification recieved

  21. 21

    GCM push notification to iOS with content_available (not working to invoke from inactive state)

  22. 22

    Google Cast Media Player Library - for streaming from Local Device

  23. 23

    to implement code which can receive continuous data from bluetooth health device and I'm getting runtime error on eclipse.

  24. 24

    Is Firebase Cloud Messaging indicated for social activity messages

  25. 25

    Google BigQuery, How to load data from google cloud storage to BigQuery

  26. 26

    Google Cloud: Compute VM Instances is Auto Shutting Down Daily, how to stop that?

  27. 27

    Qt의 Android 클라이언트 코드에서 Google-Cloud-Messaging API를 어떻게 호출합니까?

  28. 28

    How to port an Android app in Blackberry With Push Notification?

  29. 29

    iOS push notification size limit and chat application

뜨겁다태그

보관