Replies: 2 comments 3 replies
-
Hi there! You haven't included any information on your versions or the device you reproduce this on - so I'm unsure https://stackoverflow.com/help/how-to-ask You may be having an issue with this though #6158, meaning you might want to use a slightly older version of react-native-firebase until I unblock the update of firebase-android-sdk with #6122 |
Beta Was this translation helpful? Give feedback.
-
I downgraded @react-native-firebase/app: 14.7.0 to 14.1.0 and it actually seems to have fixed it mostly. Before, the crash on iOS would happen every time, now it only crashes once in awhile. Do you think the downgrade could have been the fix? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a React Native app to allow users to upload photos and some text information to a firebase database and storage. The app will be used mostly offline in remote areas.
I'm building the app in Expo.
If I switch my phone to airplane mode and immediately go through the upload process, then switch back to online, the upload works fine. But, if I'm offline for a minute or so, the error "Firestore (9.6.10): Connection WebChannel transport errored: [object Object]" appears and then if I perform the upload process, the app crashes immediately after I press save.
How would I go about allowing the user to finish the upload process even after that error appears?
app.js:
Upload process:
I'm running this on my iOS (15.3.1) and Android (android 10)
Android seems to be working, even after that error comes up. iOS doesn't work.
@react-native-firebase/app: 14.7.0
@react-native-firebase/storage": 14.7.0
Beta Was this translation helpful? Give feedback.
All reactions