Save Base64 Image as image to phone

SDK Version: 37
Platforms(Android/iOS/web/all): Android/iOS

I have a base64 image uri, I need to save it to the device so I can use it as a contact image.
In iOS i can save the image to the device as image file using FileSystem.downloadAsync which accepts a base64 uri, but on android its not allowed to “download” a base64 uri.

I didn’t try FileSystem.writeAsStringAsync with encoding: FileSystem.EncodingType.Base64 on android, but on ios i can save the image that way, but the contacts api wont accept it, saying it cant read the file or something.

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