Persistent settings and saves files?

Hi,

I am developing my first app and I have one quite important, for me and for users, question.

I would like to know what happens with sqlite3 data base created and saved in system.DocumentsDirectory when the app is updated by Google Play and iStore.
Does a user lose all his settings?
If yes where should I create settings and saves files?

Thanks [import]uid: 117071 topic_id: 35505 reply_id: 335505[/import]

All files in the system.DocumentsDirectory will be saved when an update is done. Only if the user uninstalls the app or goes into settings->applications and clicks clear data on your app will the data be lost.

EDIT: My mind is stuck in Android mode right now. The clear data is only on Androids. On iOS I don’t know of a way to clear an app’s data without deleting it. So its safe unless they uninstall or wipe the device. [import]uid: 56820 topic_id: 35505 reply_id: 141092[/import]

That was fast :slight_smile: Thanks [import]uid: 117071 topic_id: 35505 reply_id: 141095[/import]

All files in the system.DocumentsDirectory will be saved when an update is done. Only if the user uninstalls the app or goes into settings->applications and clicks clear data on your app will the data be lost.

EDIT: My mind is stuck in Android mode right now. The clear data is only on Androids. On iOS I don’t know of a way to clear an app’s data without deleting it. So its safe unless they uninstall or wipe the device. [import]uid: 56820 topic_id: 35505 reply_id: 141092[/import]

That was fast :slight_smile: Thanks [import]uid: 117071 topic_id: 35505 reply_id: 141095[/import]