How to use FileSystem.writeFile() with binary data on iOS?

How to use FileSystem.writeFile() with binary data? The doc states that data can only be a “String” on iOS. But I want to download binary data like an image and store it on the filesystem. Is that possible?

You can find an example in this guide: The File Handling Guide for Capacitor - Capawesome

1 Like