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

IOS app crashes after permission pop-up on device.

Open priyankverma opened this issue 7 years ago • 7 comments

Hello, i am using this plugin for notifications and every thing just works fine on android, my ios debug build also works fine but when running the same on device, app crashes after the permission pop-up, token is not granted, my configuration of project:

"react-native-fcm": "^10.0.3", "react-native": "0.48.3"

i am using IOS 11.1

priyankverma avatar Dec 15 '17 05:12 priyankverma

you need to do try catch around the permission call because it rejects if permission is not granted

evollu avatar Dec 15 '17 16:12 evollu

Naah, I handled that, everytime user is granting the permission, and as soon as he allows, app crashes.

priyankverma avatar Dec 19 '17 06:12 priyankverma

do you have the crash log?

evollu avatar Dec 19 '17 15:12 evollu

I am having the same issue , RCTFatal 400 .

though it only happens on the release build and to some ios devices , other is working fine . and some of these devices will work again after couple reinstall .

Can you please tell me how you manged to fix it ?

aalkhulaifi605 avatar Mar 13 '18 10:03 aalkhulaifi605

any update for this ?

kurniawanj26 avatar Aug 08 '18 10:08 kurniawanj26

Hi @priyankverma, Nitroman605 Have you resolved this issue? I am going through the same. It is happening on release build only.

shivamtiwari8736 avatar Mar 16 '20 07:03 shivamtiwari8736

I am having the same issue , RCTFatal 400 .

though it only happens on the release build and to some ios devices , other is working fine . and some of these devices will work again after couple reinstall .

Can you please tell me how you manged to fix it ?

Have you found any solution to this. Please share

shivamtiwari8736 avatar Mar 16 '20 07:03 shivamtiwari8736