You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
mohammdwaqas
changed the title
java.lang.String com.facebook.react.brifgr.ReadableMap.string(java.lang.string) on a null object Reference while uploading image to firebase
java.lang.String com.facebook.react.bridge.ReadableMap.string(java.lang.string) on a null object Reference while uploading image to firebase
Jul 17, 2018
I found one place (addCompleteDownload) where getString was called on a ReadableMap without a check if the path key exists. I will submit a pull request.
I just solved it following rainbarrel's solution at wkh237#634, doing the same for window.Blob, because I got the "unsupported bodyinit type" error right after the mentioned solution.
You can try this:
replace: const uploadUri = Platform.OS === 'ios' ? imgUri.replace('file://', '') : imgUri;
To: const uploadUri = imgUri;
This work for me (on android).
i am getting above error while trying this code to upload image to firebase
`function uploadImage() {
dependencies:
"react-native": "^0.55.3", "react-native-firebase": "^4.1.0", "react-native-image-picker": "^0.26.10", "react-navigation": "^2.6.0", "rn-fetch-blob": "^0.10.11"
any help ?
The text was updated successfully, but these errors were encountered: