mcorbeel Active Member Licensed User Longtime User Dec 14, 2020 #1 I use the Caches dir in File.DirLibrary to store a SQL database to hold user data (credentials and other settings) of my app. From some users I get the reaction that they need to re-enter their credentials each time they use the app. I suspect that the reason for that is that the database is no longer there. Is this Caches dir the correct place to store the db?
I use the Caches dir in File.DirLibrary to store a SQL database to hold user data (credentials and other settings) of my app. From some users I get the reaction that they need to re-enter their credentials each time they use the app. I suspect that the reason for that is that the database is no longer there. Is this Caches dir the correct place to store the db?
Erel B4X founder Staff member Licensed User Longtime User Dec 14, 2020 #2 XUI.DefaultFolder is the best folder in most cases. It is the same as File.DirDocuments in B4i. Upvote 0
mcorbeel Active Member Licensed User Longtime User Dec 14, 2020 #3 Thank you. And is my suspicion correct that the Caches dir is not persistent? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 14, 2020 #4 The only thing that I see about this folder is: https://developer.apple.com/icloud/documentation/data-storage/index.html Not clear what causes it to be deleted. Upvote 0
The only thing that I see about this folder is: https://developer.apple.com/icloud/documentation/data-storage/index.html Not clear what causes it to be deleted.