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

firebase storage issues #50

Closed
AtulSisodiya opened this issue Feb 6, 2021 · 2 comments
Closed

firebase storage issues #50

AtulSisodiya opened this issue Feb 6, 2021 · 2 comments

Comments

@AtulSisodiya
Copy link

Screenshot 2021-02-06 145647

error related to firebase storage

@huzzi
Copy link

huzzi commented Feb 14, 2021

Change the 4 lines to

`
Reference reference = FirebaseStorage.instance.ref().child(fileName);

UploadTask uploadTask = reference.putFile(image);

TaskSnapshot storageTaskSnapshot = await uploadTask;

imageUrl = await storageTaskSnapshot.ref.getDownloadURL();`

@duytq94
Copy link
Owner

duytq94 commented Feb 17, 2021

Maybe you changed version firebase so the syntax changed too, read the firebase docs to update these code or get the same version as my demo
Screen Shot 2021-02-17 at 3 28 05 PM

@duytq94 duytq94 closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants