
we create a Connected App (called "WFMApp") and enabled Android GCM with server key "AIzaSyD8xW_9ixG0q3HVLOHAThrlUzI0HNpRx_4" (is my API key).
Into app, i insert into bootconfig.xml <string name="androidPushNotificationClientId">289844079978</string> (is id of project created in Firebase, GCM is "deprecated" by Google) and enabled setPushNotificationReceiver into app.
If i try with Firebase console, everything work. If i try with "Test Push Notification" into Salesforce it appears "Notification sended succesfully" but nothing received into Android application.
If i debug into your SDK method "registerSFDCPushNotification" i saw that response of "POST /services/data/v36.0/sobjects/MobilePushServiceDevice"is "[{"errorCode":"NOT_FOUND","message":"The requested resource does not exist"}]".
What is missing?
9 respostas
You'll want to head over to the developer forums for this kind of question. This community is focused on configuration based questions
http://salesforce.stackexchange.com is your best bet