react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

Unable to receive notifications on iOS 12

Open mohdabbas opened this issue 8 years ago • 13 comments

FCM is working fine on iOS 11 and Android as well, but after upgrading to iOS 12, notification are not coming to iPhones with iOS 12. Any idea?

Versions: React Native: 0.53.0 React Native Firebase: 4.2.0

mohdabbas avatar Oct 09 '18 05:10 mohdabbas

i able to test push notification using firebase console, but when i am using API: https://fcm.googleapis.com/fcm/send I am not able to send notification to device. Do you have same issue?

ducpt2 avatar Oct 09 '18 07:10 ducpt2

No I am not using the API... just the console!

mohdabbas avatar Oct 10 '18 03:10 mohdabbas

Strange, after upgrading to v4.3.8, I am able to receive on ios12, but not on older iOS devices :-D!

mohdabbas avatar Oct 10 '18 03:10 mohdabbas

@mohdabbas it work fine for me now. Versions: React Native: 0.55.4 React Native Firebase: 4.3.8

ducpt2 avatar Oct 10 '18 03:10 ducpt2

@mohdabbas it work fine for me now. Versions: React Native: 0.55.4 React Native Firebase: 4.3.8

@ducpt2 For both iOS 11 and 12?

mohdabbas avatar Oct 10 '18 05:10 mohdabbas

@mohdabbas right now i am not able to receive notification, don't know why it happend :))

ducpt2 avatar Oct 30 '18 08:10 ducpt2

@ducpt2 I'm having the same problem. Did you manage to figure it out?

rheng001 avatar Nov 02 '18 01:11 rheng001

same !

wardhanster avatar Nov 02 '18 09:11 wardhanster

@ducpt2 have you solved the issue? What was the API response when you try to trigger from fcm api? I am using nodejs firebase-admin library and I get {"code":"messaging/internal-error","message":"Internal error encountered."}. Appreciate if you have solved the issue and share the solution or suggestion :) Thanks!

Aung-Myint-Thein avatar Nov 03 '18 01:11 Aung-Myint-Thein

Any update in this ??

vicky462 avatar Nov 14 '18 07:11 vicky462

I have managed to get this working. I tried to send notification from gcm API directly and I received a more meaningful error saying "ApnsInvalidCredentials". Then I tried to reset the APNS configurations and they are working now. :) Let me know if anyone needs helps.

Aung-Myint-Thein avatar Nov 14 '18 09:11 Aung-Myint-Thein

Hello 👋, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 12 '18 12:12 stale[bot]

Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.

stale[bot] avatar Dec 26 '18 12:12 stale[bot]