For some reason i can’t see any notification on my Android device.
The steps I did to setup everything:
- Google Console Developers and created a project with package name, etc, and got an Server API Key and Sender ID.
- On Backendless Console set the Server API Key.
- on Android side:
Backendless.Messaging.registerDevice(GCMConfig.SENDER_ID, null, getExpirationDate(), this);
3.1) expires in 3 months
3.2) the callback just logs a message saying the devices was registered or not (and here everyhting is ok, being registered)
3.3) GCMConfig.SENDER_ID is the value retrieved from Google Console Developers - Use BAckendless default configuration for notifications:
4.1) Manifest
<uses-permission android:name=“android.permission.INTERNET”/>
<uses-permission android:name=“android.permission.WAKE_LOCK”/>
<uses-permission android:name=“com.google.android.c2dm.permission.RECEIVE”/>
<uses-permission android:name=“pt.meusuper.paoquentepronto.permission.C2D_MESSAGE”/>
<intent-filter>
<category android:name=“com.mypackagename.abc” />
</intent-filter>
</receiver>
<service android:name=“com.backendless.push.BackendlessPushService” />
I don’t receive any notification on my device, but i can see that the divide is being registered on backendless.Whats missing here? I double checked all the keys already, but still can’t figure out what is missing.