First I create a blob file
RNFetchBlob.fs.readFile(localImgUrl2, 'base64')
.then(base64ImageStr => Blob.build('image.png', base64ImageStr, { type: 'image/png;BASE64' }))
......then i try to upload to firebase
.then((data) => {FBStorageRef.put(data, { contentType: mime })})
...but it gives me the error
Firebase Storage: Object 'profilePics/image.png' does not exist
I believe its my FBStorageRef that it has a beef with.....my cloud storage is totally empty and I want to create a folder called profilePics.......and the file within I want to call image.png
const FBStorageRef = Firebase.storage().ref('/profilePics/image.png');
It says that profilePics/image.png doe not exist which is true enough.....but thats exactly why I want to upload it right :)