I got an issue with Firebase Analytics when releasing to TestFlight (and would occur if I deploy to store).
Basically on Android I can launch the build but on iOS it crashes on launch and thus even sentry is not able to retrieve the error.
I just followed this guide (FirebaseAnalytics - Expo Documentation) and tried with and without using @react-native-firebase/app. With SDK 45 it was working.
Thanks and can provide some configuration files if needed.
A common issue of crashing on iOS could be and as @pastacarbonara mentioned, is:
when using @react-native-firebase/app library. It’s a required step to configure the React Native Firebase library. You can check out how to configure it from here: FirebaseAnalytics - Expo Documentation
Also, I’d suggest moving away from expo-firebase-analytics library and use Development Builds with React Native Firebase library since expo-firebase-analytics library will be deprecated soon.
You can follow the migration steps from expo-firebase-analytics to use React Native Firebase library here: https://github.com/expo/fyi/blob/main/firebase-migration-guide.md
If you are not using Firebase in your test, you need to use expo-build-properties to specify “useFrameworks”: “static”. Can you share the link to your build so that I can take a look at what could be the issue and try to reproduce it on my end?