-
Hi everybody. When I upload a file using iOS the storage works fine.
The basic functionality example has taken from the official documentation page.
Version:
Am I missing something here? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Well, I realize versions move fast, but reporting things on old versions is usually a losing proposition - I'd make sure, before reporting anything to any project, that you can reproduce it on current stable versions, which is 10.7.0 now here. More to the point though, you can always look at live usage examples by checking the e2e suite (which runs in android devices every time we make a change that triggers continuous integration) This before block in particular runs successfully before every test in the enclosing describe block react-native-firebase/packages/storage/e2e/StorageReference.e2e.js Lines 88 to 97 in 3e980d4 |
Beta Was this translation helpful? Give feedback.
-
I had this same issue on android but not on ios. Turns out if the parameter inside |
Beta Was this translation helpful? Give feedback.
-
@vognam is right. I was sending the filename as undefined. Thank you. |
Beta Was this translation helpful? Give feedback.
I had this same issue on android but not on ios. Turns out if the parameter inside
storage().ref()
is undefined it throws this error. Check thatimage.filename
is not undefined.