My android device is not registering to receive push notifications.
I have added my server Api key under mobile tab in my console.
I have added SENDER ID into my app eg.( Backendless.Messaging.registerDevice(“SENDER ID”, myChannels, date, asyncCallback));
Both my SERVER KEY and SENDER ID i got from google cloud messaging.
I have added all my manifest configurations accordingly…
Whenever I have to register device ,then it doesnt show under backendless messaging ,Despite my app running handleResponse.
I FEEL STUCK AS I DO NOT KNOW HOW TO HANDLE THIS MATTER .
Hello.
I’ve tried register device with the GCMsenderId from your googleApp and have registered my device successfully.
But i noticed, that you set two android server keys. It is a bad practice – you should use one key. Besides this, i think that one of your keys is wrong, please check it.
I think I have now figured it out.
The reason my application wasnt working was that I was testing it on an Android version 4.
Which it seems its not supported.
I tested the app on android version 5 and it worked perfectly.
I hope someday older versions will also support this feature.
We only officially support Android 5+, which is SDK version 21+. We’re going to mention that in the “Setup” section of the documentation (in case it’s not there already).