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

 

1 Comment

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

 

Login or Signup to post a comment