FCM getting MismatchSenderId

前端 未结 29 1985
刺人心
刺人心 2020-12-04 17:34

I have an application that uses Google FCM for sending push notifications.

When i send a push notification to a group of users, i get a response of MismatchSen

29条回答
  •  醉话见心
    2020-12-04 18:09

    As per response "MismatchSenderId", this is a mismatch between FireBase and your local "google-services.json", you have to make sure that both manifests matches

    In FireBase console you go to "YourProject > Project OverView > Cloud Messaging" you'll see the "SenderID" which MUST match with the "google-services.json" in your Android project.

    Best thing you can do is download the final json file from "General" tab and place it in your project.

提交回复
热议问题