react-native-push-notification / ios

React Native Push Notification API for iOS.
MIT License
741 stars 285 forks source link

iOS Push Notifications stopped working after updating RN to 0.62 and firebase #166

Open Benzer1406 opened 4 years ago

Benzer1406 commented 4 years ago

Hi,

since I have updated to React Native 0.62.2 and

"@react-native-firebase/analytics": "^7.3.1",
"@react-native-firebase/app": "^8.2.0",
"@react-native-firebase/messaging": "^7.5.0",

I'm not able to receive push notifications on my physical iPhone (iOS 13.5.1) anymore.

I triple checked that the code in AppDelegate.m and AppDelegate.m are correct.

I have the same project in RN 0.61.2 with and they are received:

"@react-native-firebase/analytics": "^6.0.3",
"@react-native-firebase/app": "^6.0.3",
"@react-native-firebase/messaging": "^6.0.3",

Is it possible that there is an issue with the version? Any idea?

jeffelector commented 4 years ago

same here

jamesjara commented 4 years ago

i think i have the same issue

take-o20 commented 4 years ago

i have the same issue, i think...

take-o20 commented 4 years ago

I found out what happened! The token issued by this module was wrong. I was able to use the following module to get the token instead!

https://rnfirebase.io/messaging/notifications

jeffelector commented 4 years ago

I found out what happened! The token issued by this module was wrong. I was able to use the following module to get the token instead!

https://rnfirebase.io/messaging/notifications

thats correct i found it also today! this https://github.com/invertase/react-native-firebase/issues/3367?fbclid=IwAR3mf_0a-MRdWI90mDTOuQmWw1T9EtqiU_f3uVj0lY9cAOt9qtxlFBhzJAU#issuecomment-628963057 fix my problem !