Firebase Invalid registration token. Check the token format

前端 未结 1 648
再見小時候
再見小時候 2020-12-19 17:00

This questions has been asked and answered many times before, yet I can\'t figure out what I am doing wrong. Sending notifications to the whole app from Firebase console wor

相关标签:
1条回答
  • 2020-12-19 17:29

    When I created the app in Firebase console, I mistyped a letter when filling in the Bundle ID.
    I never thought about checking it since, I had been using Firebase Database services and all CRUD operations worked as expected, but the Bundle ID in Xcworkspace and BundleID of the firebase app were not exactly the same.
    It would be great if anyone from Google could say the reason why reading/writing from the client app worked as expected even though the bundleID was incorrect in Firebase console.

    How did I find out the typo?
    Initially I uploaded in Firebase console the p8 file which was downloaded from developer.apple.com and no error was shown.
    Later on, I decided to use certificates (the old way) and when I tried to upload Apple Push Notification service SSL (Sandbox) - Development I got an error The certificate bundleId did not match that of your app

    0 讨论(0)
提交回复
热议问题