Home > front end >  react-native-push-notification remote doesn't show when I test with real ios device with xcode
react-native-push-notification remote doesn't show when I test with real ios device with xcode

Time:12-21

I'm using react-native-push-notification. I'm trying to test push notifications, if I build app and upload it to testflight it shows remote notifications just fine, but when I do it with xcode build on a real device it doesn't react at all (I'm getting onRegister call and notification token though). This problem is only on IOS, android getting notifications in production and development. Can't google anything related so probably I'm missing something.

P.S. I'm using backend to send notifications through firebase

CodePudding user response:

you have to go in capaibility in xcode and active PushNotification first

for more info see this

CodePudding user response:

hope you have followed all the steps to get the APNS certificate and attached that to your xcode, before the build, if not please do so. Also, in addition you need to have .pem file to add to your Firebase to make your ios app enable to send and receive push.

  • Related