Open SamarthBagga opened 5 hours ago
Hi there! This issue is missing the required issue template, no indication of concrete version numbers of react-native-firebase or other libraries nor the device it is running on and it's android version, and there is no crash backtrace - difficult to say what could be happening
(something from adb logcat might be useful...)
@mikehardy package.json-
{
"name": "supp",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.650.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-firebase/app": "^20.5.0",
"@react-native-firebase/auth": "^20.5.0",
"@react-native-picker/picker": "2.7.5",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/core": "^6.4.17",
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.11.0",
"@react-navigation/stack": "^6.4.1",
"axios": "^1.7.7",
"expo": "^51.0.34",
"expo-crypto": "~13.0.2",
"expo-dev-client": "~4.0.26",
"expo-image-picker": "~15.0.7",
"expo-localization": "~15.0.3",
"expo-location": "~17.0.1",
"expo-status-bar": "~1.12.1",
"i18n-js": "^4.4.3",
"nativewind": "^2.0.11",
"react": "18.2.0",
"react-native": "0.74.5",
"react-native-aws3": "^0.0.9",
"react-native-feather": "^1.1.2",
"react-native-gesture-handler": "~2.16.1",
"react-native-get-random-values": "^1.11.0",
"react-native-google-places-autocomplete": "^2.5.6",
"react-native-maps": "1.14.0",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-vector-icons": "^10.2.0",
"react-native-webview": "13.8.6",
"util": "^0.12.5",
"uuid": "^10.0.0",
"uuidv4": "^6.2.13",
"web-streams-polyfill": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"prettier": "^3.3.3",
"tailwindcss": "3.3.2"
},
"private": true
}
It is a Samsung phone wih anrdoid 14. It is an installed apk i have generated using this command. -
eas build -p android --profile preview
It is crashing after confirming the OTP. I am not sure how to find the crash backtrace could you help me locate it ? When i try running the adb logcat the terminal starts showing lot of things.
When i try running the adb logcat the terminal starts showing lot of things.
One of those things will be the crash stack trace
I am using Expo 51 and the latest react native firebase auth libraries. I have built the Expo APK using eas, everything works fine in the emulator device when the app is run using -
But when running the apk on an actual device or on the emulator the app crashes when the OTP is verified. I have added the SHA1 and SHA256 keys to firebase and done all the config steps. Here is the code I am using -