Posts

Post not yet marked as solved
0 Replies
134 Views
Silent Push Notification is not received to the device. I am sending push notifications from the https://fcm.googleapis.com/fcm/send Request Payload: { "content_available": true, "apns_priority": 10, "data": { "title": "Title of the notification", "body": "This string has message", "deviceId": "f565fa30-b5b2-11ec-bb6c-79ad60e4f707" }, "registration_ids":[ "List of registered devices"] } Now when I send the notification. I am getting the notification randomly on the devices. I was sending notification to 5 devices. Now 3 devices were receiving the notification and 2 device didn't received. When the app is running in the foreground I am getting notification in all devices. When app is in background I am getting notifications. When app is killed by the user and even phone is locked I didn't receive any notification in couple of devices and received in other device. Now, when I open the app I immediately received the notification. I read an article from apple doc on silent push notification and there it is clearly mentioned that there is no guarantee of notification delivery to the device. I cannot use normal notifications because I am filtering data before the notification. If payload have device id which is equal to stored device id then I fired a local notification if not then notification is silent. Any solution for this issue?
Posted Last updated
.