Expo standalone application crashes in the splash screen when you use the Firebase module #5868
Unanswered
pruteanualex
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been building an application in React Native / Expo for some time, I managed to bring the project to a final stage but I was stuck implementing some firebase tools: messaging and in-app-messaging.I detailed this issue on stackoverflow
but I haven't been able to solve the problem yet.
These are the steps I followed to implement firebase in the project, to have access to these tools I used Expo Minimal and then following the documentation from firebase.
These are the steps I followed to implement firebase in the project, to have access to these tools I used Expo Eject to have complete access,after this in aplication/android/build.gradle in dependencies i add the falloing code:
aplication/android/settings.gradle
MainApplication.java
Once I did the setup after the documentation I started to implement firebase in the project. In App.js I added the following blocks of code that I found on the official site from react native firebase.
App.js
index.js
I don't understand a thing in Android Studio Emulator everything works without problems, not even an error, both notifications and In-app-messaging work without problems.
But when I export the application to my phone in apk format it doesn't work when I open the application it crashes in the spash screen.
Details:
Expo Workflows
Windows 10
SKD 43.0.0
Emulator: Pixel_4_XL_API_30
React Native
Beta Was this translation helpful? Give feedback.
All reactions