Replies: 2 comments 2 replies
-
We get an large amount of issue traffic, so I'm hesitant to remove any of the messages that help developers get things working, even if it means a few not-quite-necessary messages for users with different setups. In this case, I think it never hurts to just call the API, double-calling it does nothing wrong, and then your log is clear |
Beta Was this translation helpful? Give feedback.
0 replies
-
Edit: removed what was a bug on our end. For some reason Push Notification capability was removed from Signing & Capabilities and we were getting the same error mentioned by op |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We're seeing the following error for some users of our app, when calling
messaging().getToken()
:However, we do not have a firebase.json file that disables auto-registration (using the
messaging_ios_auto_register_for_remote_messages
parameter).It's unclear to me whether all devices should call
registerDeviceForRemoteMessages()
on startup (as stated in the release notes here) or if that's only needed when auto-registration has been disabled (as implied by the console warning here).I also wanted to verify, based on this other issue whether requesting permissions has anything to do with it. According to the Apple Docs, it seems that prompting for permissions is only needed to show user-facing notifications, and we're so we're not calling
messaging().requestPermission()
because we're interested in non-user-facing data messages with FCM. But I wanted to check anyway if that might be to blame for our failed FCM auto-registration.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions