Reputation: 1831
Notifications stopped working after I did 2 things:
1) created second project on firebase
2) updated react-native-firebase from 3.3.x to 4.3.x
Upvotes: 1
Views: 617
Reputation: 1831
I've wasted 2 hours debugging this and want to save time for other people.
The issue was that I didn't simply upload APNs Authentication Key for a new project and this step is hard to find but it should be the first thing you do if you face this problem.
Here is a link how to create APN auth key and other certificates for Push notifications https://firebase.google.com/docs/cloud-messaging/ios/certs
To upload APN auth key go to https://console.firebase.google.com/project/YOUR-PROJECT -> go to overview -> select ios app -> go to Cloud messaging
Upvotes: 3