I am writing an app that must work on various platforms (iOS, MacOS, Win and later Android). This app will have a list of files that it will regularly read from. This list must be dynamic, ie more files can be added (from a web site or any other location) or even deleted. I don"t want to use Binary::Data scheme for this particular purpose. So here is my question:
What is the best location to store those files ? This location must be:
- included in the package for iOS and Mac, and in the install program for Win
- accessible from a Juce-enabled app (eg using getSpecialLocation or some other method from Juce modules)
- defined at compile/build time using XCode for iOS and MacOSX, and some automatic means for Win and Android (for instance I tried to define the file location using the Build Phase page in XCode but the actual picked location was different depending on the target (iOS or MacOS))
- and if possible visible and accessible by the final user using standard browsing tools.
In other words how can I define this location so that I can use the same code to access the files on all platforms, the app being installed from a package by the user ?
Thanks in advance for any suggestion...