-
Notifications
You must be signed in to change notification settings - Fork 340
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
Cannot download image/video from firebase storage #66
Comments
This is an easy one to fix, but I can't figure out how to do a pull request. in lib/files.dart the isVideo and isImage functions use the extension method and this doesn't recognize extensions that are inline in the URL string. The quickest way to fix this is by removing the existing isVideo and isFile functions in lib/files.dart and replace them with:
|
i'll try this solution, thanks for you help, i really appreciate that :) 👍 |
Hi, I fix it by adding ".png" or ".jpg" to end of the firebase url. |
Here is an example of image link i tried to download and its generating error on this similar links "https://firebasestorage.googleapis.com/v0/b/eventat-4ba96.appspot.com/o/2019-Metrology-Events.jpg?alt=media&token=bfc47032-5173-4b3f-86bb-9659f46b362a"
The text was updated successfully, but these errors were encountered: