I find myself in the process of updating my react native app from using deprecated libraries such as react-native-fcm and react-native-firebase-analytics to utilizing react-native-firebase. The build seems successful, but upon launching the app, it remains stuck on the splash screen for an unusually long time before crashing with the following error message:
TypeError: 'undefined' is not an object (evaluating 'RNFIR.requestPermissions()')
After reviewing my code, I can confirm that no such statement exists, and everything is current. It appears that the issue may stem from within the react-native-firebase library, though I am uncertain about how to rectify it. Any suggestions would be greatly appreciated.