-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expo imagepicker & Storage #54
Comments
@Salakar thanks for quick answer. I forgot to mention that im testing with IOS. Well, i commented the line and replaced the param from _filePath to filePath. // const _filePath = filePath.replace('file://', '');
return new StorageTask(UPLOAD_TASK, FirebaseStorage.putFile(this.path, filePath, metadata), this); The error still happens and noticed that in Xcode it shows the following:
Is this helpful? i would like to help with this issue as much as i can. Is important to say that using In use: Many thanks |
Hi again. Did some checks but never did the most basic and simple test. Checking if the file really exists with the path provided. Seems some naming in the setup was causing the file to be unreachable, like error trace says. Tested again the storage module and it works perfect! Many thanks for the great effort on this library. |
Hi,
I switched from
react-native-image-picker
(that worked good initially with storage of this library) to the ImagePicker ofexpo
SDK and when the image is selected it returns the paramorigURL
with the format ofassets-library://
but the optimal is to use theuri
that comes in the format offile://
.Checking the source code, other format different than
assets-library://
is not recognised. ContentType was automatically detected usingreact-native-image-picker
with1.0.0-alpha11
or at least I didn't have to specify it before and it was set in storage correctly but right now is not. Im using theassets-library://
fromorigURL
and specifying manually the contentType, it works perfect.Many thanks
The text was updated successfully, but these errors were encountered: