I am facing an issue with implementing Firebase Cloud Messaging (FCM) in my project. Despite following the Firebase documentation closely, I encountered the following error related to token generation:
Error: [Error: [messaging/unregistered] You must be registered for remote messages before calling getToken, see messaging().registerDeviceForRemoteMessages().]
After researching the issue online, I came across information suggesting that the problem may be related to a silicon component that is not present in my MacBook Pro. This, as per the reference I found, could be causing the issue with Firebase. I am attaching the link to the article that mentions this issue:
-
FCM Setup Guide: Firebase iOS Setup
-
Silicon Issue: Apple Support
Anyone please guide me on whether I might be following an incorrect process or if there is any way to bypass this silicon-related issue? Your assistance in resolving this matter would be greatly appreciated. Thank you in advance!
I have tried online.
Prince Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.