Skip to content
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

Flutter web support for firebase_storage plugin #1470

Closed
ptyagicodecamp opened this issue Nov 20, 2019 · 3 comments
Closed

Flutter web support for firebase_storage plugin #1470

ptyagicodecamp opened this issue Nov 20, 2019 · 3 comments

Comments

@ptyagicodecamp
Copy link

Hi,

firebase_storage plugin doesn't seem to work on Flutter Web. Am I missing something or this plugin is not yet supported for web ? If so, could you point me to workaround to make it work on web ?

Thanks,
Priyanka

@NoamDev
Copy link
Contributor

NoamDev commented Nov 21, 2019

Plugins are not supported yet in flutter web, you should use a wrapper for the js library instead.
in general, flutter web haven't reached alpha yet, and is currently for tech view, it is not recommended to use it for production.

@iapicca
Copy link

iapicca commented Nov 21, 2019

Hi @ptyagicodecamp
@NoamDev is right,

There's a dart web version you might want to consider,
you can also take a look to this solution.

A better solution is currently work in progress.

Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

@ialhashim
Copy link

@iapicca suggestion helped me enable storage on the web for the time being.

Here is a gist of what I did to enable uploading from the web https://gist.github.com/ialhashim/d0c867daa2dc02cf4e178374abd0ca49

Its a hack for now, I am sure the flutter community will develop an official package soon.

@firebase firebase locked and limited conversation to collaborators Aug 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants