Skip to content

MismatchSenderId no matter what I try #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
johanlantz opened this issue Jan 16, 2017 · 1 comment
Closed

MismatchSenderId no matter what I try #5

johanlantz opened this issue Jan 16, 2017 · 1 comment

Comments

@johanlantz
Copy link

Hi there

Thanks a lot for the quickstart-cpp project. I am using the 2.1.0 version and I managed to include it in my cross platform project in no time at all. I am currently testing it for iOS but no matter what I do, I end up with this type of response:
{"multicast_id":6116168930780731961,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}

Sending from the Firebase console to the registration_id of the device also does not work. I have debugged what I could and it looks correct. The content of the AppOptions is assigned from the plist file and it looks correct. Firebase initializes ok and I get the registration token in the onTokenReceived callback.

I have tried various times to delete and reinstall the app and I get a new registration token which I test but it simply never works, neither sending a notification from the console or using curl.

I have spend almost two days, trying anything I could find on SO and I am all out of idea so any suggestion is highly appreciated. It does not seems that complex but still I can not get pass the MismatchSenderId and I do not know how to troubleshoot further.

@johanlantz
Copy link
Author

I found the problem finally. The App layer of the iOS app also used Firebase for Analytics and they had another plist file so the same app tried to use two different configurations. One from objective C for Analytics and one in the native code for messaging and this did not go well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants