i have a React Native app, with the @react-native-firebase/app dependence.My app works fine when I run npx react-native run-android
. But when generating the apk and testing it on my device, it closes instantly without sending any error.I generated the apk with the command ./gradlew assembleRelease -x bundleReleaseJsAndAssets
. I connected the device to my pc and ran logcat and the only error that can be seen is this:
Exception occurred while getting SettingsStore instance.java.util.concurrent.ExecutionException: com.google.android.gms.auth.UserRecoverableAuthException: BadAuthentication
I don't know what it could be and how it could be solved. Any idea what is going on?