Start a new topic
Answered

REST API PUSH not working from console

Hi have an android app that uses Kinvey REST API for registering & unregistering the device to FCM.


The registration is succeeds. When i use that registration_token to send notification from FCM console it is received by the app but when i do the same thing from Kinvey PUSH (within engagement) its never sent.


Please help.


Best Answer
Amit,

You are using Android v2.10.8. Kinvey has not yet migrated to using FCM. Kinvey (Android SDK and server setup) is still using GCM for sending and handling push notifications. Therefore, following the migration from GCM to FCM guide in your project would cause the Android SDK to not perform as expected when registering devices and handling push notifications. Please take a look at following:
https://devcenter.kinvey.com/rest/guides/push#

I might have to discuss this internally for more information but till then can you please try following:

Setup the Kinvey Console - to be able to send push notifications through the Kinvey console. If you have migrated your Google project to a Firebase project, please make sure the sender Id and Server Key in the Kinvey Console are the same as your Firebase project.

Let me know if my suggestion helps to get this issue resolved.

Thanks,
Pranav

 


Answer
Amit,

You are using Android v2.10.8. Kinvey has not yet migrated to using FCM. Kinvey (Android SDK and server setup) is still using GCM for sending and handling push notifications. Therefore, following the migration from GCM to FCM guide in your project would cause the Android SDK to not perform as expected when registering devices and handling push notifications. Please take a look at following:
https://devcenter.kinvey.com/rest/guides/push#

I might have to discuss this internally for more information but till then can you please try following:

Setup the Kinvey Console - to be able to send push notifications through the Kinvey console. If you have migrated your Google project to a Firebase project, please make sure the sender Id and Server Key in the Kinvey Console are the same as your Firebase project.

Let me know if my suggestion helps to get this issue resolved.

Thanks,
Pranav

 

I also face same issue. Notification token register and unregister in particular user but notification don't receive. What to do for this ?


1 person likes this

Hey Mahesh,


Are you using the Kinvey's REST API for communication with the backend from your React Native app?


Thanks,

Bilger.

Yes

Mahesh,


I'll check that out, and get back to you.


Thanks,

Bilger.

Hello,


I listening that Push Notification with Firebase Messaging in Android & iOS but no notification display in Notification tray of device when app in background or close.

When app in foreground I receive Firebase onMessage with object "Remote Message" but when I fire notification from firebase console that is "notification" object .


So What I should to do receive push notification when application in background or close ?

Login or Signup to post a comment