FCM - Not registered

前端 未结 4 737
無奈伤痛
無奈伤痛 2021-01-18 09:57

I\'m trying to send a message through FCM to my web app. Unfortunately, I\'ve the following error message and I\'m unable to solve it alone...

Through POSTMAN I rece

4条回答
  •  孤街浪徒
    2021-01-18 10:28

    I had a similar issue and spend long hours (even days) to fix it.

    I was doing tests on dev and select on XCode > Signing & Capabilities: "Automatically manage signing". When select this option you expect XCode to create App identifier for you and could see it on apple developer account prefixed by "XC". But in my case, I don't know why, this App identifier not exists, and build, run, works well. And, when I send a notification get "InvalidRegistration" the 1st time and "NotRegistered" next ones.

    To fix it I manually create an App identifier on apple developer account, uncheck/check "Automatically manage signing" on XCode and (re)build/install to raise a new fcm token. After that it works!

提交回复
热议问题