Get Blob of Image? Breaking change SDK 31

Hello.

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?

3 Likes

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.

EDIT:



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