'console error: app.default.storage is not a function
I'm trying to upload a picture in firebase storage but I always have same error.
Could someone help me please ?
export async function uploadProfilePicture2(uri){
const response = await fetch(uri);
const blob = await response.blob();
var ref = firebase.storage().ref().child("images/userProfile")
return ref.put(blob);
}
I search for answears but all I find give me the same error. greetings
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
