I dont undestand, by registering the broadcast receiver in the manifest plus having backendless in my gradle I should get notifications? I dont have to do a broadcast receiver?
On the server side (using Backendless console), you need to enter your Google API key.
On the client side you need to configure Broadcast receiver.
Can you tell me what message headers you send along with the message? Or even better, can you show the code you use to send out your push notification?
Your device does not show up as registered. Do you make this call in your application?:
http://backendless.com/documentation/messaging/android/messaging_device_registration.htm
Make sure to put all android headers (not just one as you do it now).
Regards,
Mark
Yes I did it, and yes it is registered, I didnt click in the device tab in video cause there are some ids arround there, but look https://box.everhelper.me/attachment/312139/RCgIWb40gypLXqUV2fOGq2n7NeoD0Spq/430501-1srNAvhHVJbp5aNy/screen.jpeg
And, nope didnt worked :( use all the headers, using the "key":"value", "key":"value" format
Hey sorry, for being such a rookie, Im really greatfull for all your help, I wish we can solve this, push notification is the last thing I need for my app.
Looks good. I have done all I could and am out of ideas… someone from the dev team will be following up with you. Until then, could you try this:
Open Code Generation in Backendless console
Select "Sample chat" in the Messaging box
Download the app and compile it.
Run it on 2 different devices (or device an emulator)
The app uses push notifications and we know it works. If it still does not work for you, the problem must be with the Google API key config on the Manage > App Settings screen.
I cant import the project to Android Studio, wizard run as expected but when I try to compile I get a tons of errors, I try both, Intellij files and Eclipse files.
So lets try to see if the problem is with the google config then:
First I choose to create an "API key", like in this screenschot http://nimb.ws/70LGmJ
Then I choose the "Server key" like here http://nimb.ws/tYf8K5
After that Im using that key for the console setting in Backendless http://nimb.ws/zYIpKe
Also this is what Im using in the registration (.java files in the android project) http://nimb.ws/0EtreW
Am I doing something wrong in Google?
The generated project would open in IntelliJ IDEA. Have you thought/tried creating a new project in Android Studio and simply import the generated code and manifest?
Also, something else to check in Google Developers Console:
Click API and then click Cloud Messaging for Android:
http://monosnap.com/image/7YBmKwjs69lUiqrDHi9mOqvQOz2sK7
Make sure the API is enabled:
http://monosnap.com/image/56uD1IVB8B4VhvAD308QCYA9O22861
Cheers,
Mark
I am not sure I can handle a dozen of beers…, but thank you! )) If you help us spread the word about Backendless and get other developers to use the service, it will be very much appreciated too