Getting SenderId mismatch while sending push notification message to my app running on Make it native app.

1
I have configured FCM, and downloaded  google services glist, json and private key and followed all steps. Log: {   "error": {     "code": 403,     "message": "SenderId mismatch",     "status": "PERMISSION_DENIED",     "details": [       {         "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",         "errorCode": "SENDER_ID_MISMATCH"       }     ]   } }  
asked
2 answers
3

Hi Ankur Vig !

 

It is not possible to use “remote push notifications” without building your own MakeItNative or Native app through https://docs.mendix.com/refguide/native-builder#1-introduction. Since this would allow everyone to send push notifications to other people’s make it native app which downloaded from App store or Play store. So you have to create your own app

 

Hope this information is clear enough.

 

Mehmet

answered
0

Thank you Mehemet,

With your help I solved the problem. I was running the project without adding the google-services.json (Properly)

When your devices is showing up in the list of devices of the module, it does not proof that the device is registered with firebase.

When your app device is not registered with firebase at all. You will get this SENDER_ID_MISMATCH error.

Cheers, Andries

 

 

answered