React-native - Populate image with Blob that has been converted to a URL

前端 未结 3 1482
挽巷
挽巷 2021-01-02 12:13

I want to populate an image with a uri.
I request the image from the server and it returns a BLOB.

BLOB when displayed to console:

I then convert the B

3条回答
  •  鱼传尺愫
    2021-01-02 12:47

    After you have received the blob:

    let imageUri = "data:image/png;base64," + blob;
    
    
    

提交回复
热议问题