Scorpion Edge
Scorpion Edge

Reputation: 41

React Native Expo App crashing on launch on Android with Firebase SDK

My React native app (using Expo) is working perfectly fine with Firebase SDK in the Expo Go app. (auth, firestore queries, storage, etc)

But as soon as I build the app as an apk using: "eas build -p android --profile preview", the app installs and opens and crashes on launch - meaning a blank screen appears and the app closes by itself.

After several debugging and builds and trial and errors, I've determined the Firebase SDK is causing the crash. When I removed Firebase npm from my project, the app builds and runs fine, but with Firebase it crashes.

My question is, in a RN Expo app, does the Firebase SDK work properly (versions below) or does react native expo only support the @react-native-firebase library?

I'm using:

Upvotes: 0

Views: 21

Answers (1)

apkexpert
apkexpert

Reputation: 11

I have the same problem, but nobody answers yet.

Upvotes: 1

Related Questions