Created
February 23, 2023 16:09
React native Firebase Error for push notifications ios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================ | |
<< Error >> | |
APNS device token not set before retrieving FCM Token for Sender ID | |
<< Fix >> | |
Add a firebase.json file at the root and add the following | |
{ | |
"react-native": { | |
"analytics_auto_collection_enabled": false, | |
"messaging_ios_auto_register_for_remote_messages": false | |
} | |
} | |
// ================================================ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment