Firebase : Devices below Lollipop is not receiving notification from my local server - android

I am following androidhive's tutorial. I am having weird problem if I try sending notification from console everything is fine. But if I try sending notification from web app devices below lollipop is not receiving any notification. What might be the possible problem

This is first time I hearing this type of issue and have you tested with other device other than your development devices. If a device is registered with the gms then it should receive the message. Try to clear the cache data of your app might be helpful.

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.

GCM Push notification not received on single device 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.

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.

GCM Push Notifications not getting recieved on Lollipop devices

Ok,
I'm developing an android app which is enabled with GCM for Push Notifications.
I was having trouble getting push notifications on any device (lollipop / pre-lollipop) when on college wifi. I researched about it and found that the port 5228, 5229, 5230 on my college's firewall (Cyberroam) were closed. So the administrator opened them and now I am receiving push notifications, but only on pre-lollipop devices. Lollipop & Post-lollipop devices still aren't receiving push notifications.
No problem occurs when i use the app on cellular data or on private wifi (at my place).
I'm not able to understand why this is happening.
NOTE: Interesting thing is that all MI devices are receiving push irrespective of their Android version.
Can someone explain what might be happening and solution to this problem.
Thanks.
I found out that the Cyberroam was blocking all requests from the GTalk service. That is why push notifications were not getting through. It is resolved now.
Thanks

Android C2DM messages reach phone, forwarded to wrong app

I've been messing around with C2DM and have a nice little app working perfectly in the Emulator. I send a message from my app server to Google's C2DM servers, the message will arrive on the emulator and my app would respond appropriately.
My problem now is running the app on my smartphone (a Nexus One). The app runs fine and registers for C2DM with Google and then forwards it's rego ID to my application server. This is all working as expected. Problem is, when I send a message from my app server to the phone, my app never receives the message. After some investigation I found out
that the message reaches the phone, but the C2DM subsystem seems to be forwarding the message to the Google Talk app and not MY app.
Has anyone seen this behavior before? Can anyone give hints on what to look for to solve this? I was assuming that if the registration messages where forwarded to my app, then everything else should be as well.
Thanks,
Jamie
It now 'just works'. For some reason after today's testing everything is just working. The only differences are an update to Froyo that came down OTA a few weeks back but other than that the app is it's original version.

Categories

Resources