GCM Push notification not received on single device android - android

GCM Push notification is not received to one device alone. It is working fine with other mobile devices. GCM token is registered and it is active. But the notification is pushed but not received. The device model which is not receiving is Moto G4. To other users who uses this device model are receiving the notification. Please help in finding the issue. I tried re-installing the application and also cleared the cache. But no solution found.

First confirm once if there is no error message returned from GCM server. Check if the notification priority is 'high' in gcm/fcm send api
Try the code ##426## to check the hear beat status of your google play services.
Check if there are any device specific settings like 'Disabling autostart option'[in MIUI devices], 'no notification in locked state'[in oppo devices] or any security apps the kills your app if the app is in background.

Related

Expo standalone FCM push notifications are not rececived by android device after switch online

When i try to send notification when target device internet connection is off and next turn on internet connection i receive no notification.
There is no problem with notifications when device is online.
This is standalone Expo aplication with FCM notifications.
Based on FCM docs it should work.
...When this happens, FCM stores the message and delivers it as soon as it's feasible
Tested on two different devices, same result. Any idea?
Can't believe. This is just default expo ttl settings.
...Time to Live: the number of seconds for which the message may be kept
around for redelivery if it hasn't been delivered yet. Defaults to 0.

Firebase cloud messaging not received by some devices

I faced a problem took my time for 5 days.
When I send push notifications with FCM, web service response back success as below
{"multicast_id":7792208922657857316,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1501588248469528%fdb01da9f9fd7ecd"}]}[]
But it not received in some devices.
just for inform you it can received by some other devices.
I searched several sites but my problem is remained yet.
The multicast_id is just a confirmation that your request has been accepted by the FCM server.
Possible issues why push was not received on some devices:
Device offline in the given ttl
App was force stopped by the user/battery saving app/launcher customisations like MIUI, OPPO color OS etc
User un-installed the app. Google at times is not able to able to mark the user uninstalled immediately.

not receive push for android

I am testing an apps. Push notification is working fine in our server environment. But in client's environment, large amount of Android devices (NOT ALL) do not receive any push notification.
What is the possible factor? the return status form GCM is "Failed"
the return status from GCM is "Failed"
Android Device which is Receiving push must be online, if not GCM will pool notifications till it reached a mark of 100, It will start clearing the pool if more notification arrives at their end
large amount of Android devices (NOT ALL) do not receive any push notification.
Did you check you have correct GCM ID with each device? If not The device will never receive a single notification. If your device have a valid GCM ID and have received some notification then it must be a problem in connecting with the device.
Also device must have Latest Play Services installed to get the notification on board

Push notification is works or not when there is no network in android device?

In my android application , i use push notification .I had one if there is no network connection in my android device means .Then push notification works or not in my android device
If the target device is not connected to the internet, then the GCM adds the Notifications to a pipeline to be delivered at a later stage. There are limitation on the pipeline size and the maximum time of un-connectivity, after which GCM aborts the pending GCM messages. But for a general case, this should do the needful.
You need Internet Connection.
GCM clients receive notifications through a socket, which is handled by Google Services to the Internet
Without Internet you will not receive any notification from GCM. Till your connection is not there GCM fill store all notification for you and as soon as you got connected it will release its burrer

Push notification don't recieved on some device

I am implemented push notification in APP using Google cloud message
http://developer.android.com/google/gcm/client.html
but I faced problem.
On some devices we receive push on another not. I testing two the same devices on one working on another no. But after "Back up and reset" settings on doesn't working device he start receive Push messages. Does anybody have this problem? Or there are some restrictions on GCM (maybe with accounts on devices or GCM conflict with some program).

Categories

Resources