Hello,
We are in the process of migrating our Android Apps that run on the SAP Mobile Platform 3.1 to BTP Mobile Services. We use the Firebase Notification feature of the SMP and would like to get it working on the BTP too.
Since we are migrating an existing application, we are using the same firebase project with the sender ID and API Key configured in the BTP. The user is able to register with firebase successfully and the registration is also displayed under the "Push Registrations" tab.
When I try to send a test message using the "Send Notification" feature in the Mobile Services Cockpit, I get an error code 422. The logs show the following error message -
Sending a push message to user <userid>, device <deviceid> failed with code 3 and message: GCM rejected API Key, FCM disabled, invalid project number, or not white-listed IP..
We are using the same Firebase credentials that have work fine with the SAP Mobile Platform. Is there anything else that needs to be changed for the Push Notification to work on BTP Mobile Services?
Any pointers would be appreciated, thank you!
Nithya
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Benjamin,
Thank you. The issue was with the Sender ID and ServerKey, there was an error. When we fixed it, it worked. I will close this question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.