I'm using the react-native-image-picker component to capture an image that should be saved in the firebase. I'm using the following code:
firebaseApp.storage().ref('/images/').child('teste') .putString(response.data, 'base64')
response.data returns a base64 string, but firebase returns the error shown in the image below: