I'm trying to upload base64 image to s3 bucket with only base64 string. I don't want to save file but I was able to get base64 string. Previously, I 've used
const arrayBuffer = decode(base64);
Which worked fine when I had uri which was from local file. But I tried passing base64 string directly to decode from base64-array as above skipping readFile function, it is uploading broken file. Is there a way to resolve this?