I have been using TIniFile for years, but now I am getting error reports from people using Android 8.1 and Android 9 on Huawei devices:
EFCreateError: Unable to create file "/data/user/0/de.benibela.videlibri/files/DE_Berlin_Berlin_VOEBB#123.config.sav"
Have they changed something in the new Android version?
I think it happens with the update of the ini file, not with the first creation of the ini file, since my app would crash rather than generating such an error report if the first creation failed. Perhaps TFileStream cannot override a file on Android 9? I make a copy of the ini file after saving, but that should not change anything, unless CopyFile locks the file and fails to release the lock. It is updating the file from multiple threads, but in a critical section, do critical sections work on Android 9?