Get Blob of Image? Breaking change SDK 31



Something changed with SDK 31 that now when you call on a //file:

const response = await fetch(uri);

It returns Network failed request.

According to expo.

That is the right approach to upload to firebase storage.

Uploading a base64 wont work as firebase has an issue as well:

So now the only approch left is to somehow get the BLOB from the FileSystem (Expo)

How can I accomplish that?

Sdk31 - Blob Image to upload firebase

Has anyone found a good work around regarding this? I tried using base64 instead and it worked for some images, but seems to be inconsistent. Only tested on iOS.


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.