Created
February 23, 2023 16:09
-
-
Save louicoder/ac3477b3aeb2ec65ac98dcbfb356e78a to your computer and use it in GitHub Desktop.
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