Hi.
I write settings to a file just in current directory.
Works fine on android and seems to work on ios. However, if I force close the app and restart it seems like the file is gone.
Where can I store a file that will be persistent?
Persistant storage
Re: Persistant storage
Not using Remedios myself but I'd guess that you could use one of the paths returned by GetSystemInfo(). Most likely the "AppData" or "MyDocuments" paths seem to be good for your purpose. Those paths are persistent on other systems so I'd guess they are persistent on iOS as well and the documentation of GetSystemInfo() explicitly mentions that iOS is supported so maybe give it a try.
Re: Persistant storage
You should use SavePrefs() which saves your program settings to a preferred location on each platform.