iOS app crashing on notifications permissions dialog
We have an app with FCM integration working fine on android. But for iOS, it works in debug mode but when the ipa is built and tested through testflight, app crashes immediately after notification permissions pop up.
If we click on allow in the permissions popup few times before while the app is crashing, it works fine from the next time.
App crash log is attached below.

Tried testing with AdHoc provision profile as well and we are still facing the same issue
I tried removing the permissions for push notifications from info.plist and removed the corresponding JS code like the react-native-fcm pushnotif related component and it doesn't crash anymore.
The other permissions popup's like location request, camera and gallery access are not causing any crashes.
from your crash log, some react or your JS crashed. check the logic of handling FCM request permission handler?
Same issue, app crashes when tried with relese build, Evry thing works fine with the debug build
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 ?
Any update on this how to resolve? facing the same issue.
Any update? happening for me too. only for push notification allow access popup.
Just Changed
componentDidMount() {
var _this = this;
FCM.requestPermissions();
to
async componentDidMount() {
var _this = this;
try{
let result = await FCM.requestPermissions({badge: false, sound: true, alert: true});
} catch(e){
console.error(e);
}
as per the example code and it worked for me