I'm writing a flutter app. This app will contain image, audio and video files. These files should be available even when the app is offline. The files can be downloaded from a server, or manually placed in the application's document directory (ios) or external directory (Android) via a USB connection. Additionally, a Json file will provide information to the app on how to process these media files. The directory structure will look like the following:
AppContent
-> info.json
-> Audio folder
->-> Files...
-> Video folder
->-> Files...
-> Pictures folder
->-> Files...
According to apple.developers such files should not be backed up by icloud. This is also not wanted in this application. The JSON file only contains information about the media files, no user data. https://developer.apple.com/icloud/documentation/data-storage/index.html
This tutorial shows how to exclude a folder from the iCloud backup: https://developer.apple.com/library/archive/qa/qa1719/_index.html
Is there an easy way to achieve this in the Flutter? Or do I have to call the native ios function?