Post

Replies

Boosts

Views

Activity

Reply to Inform users that they need to delete and reinstall the app
I came up providing the user with a "backup" function they have to trigger to save all data in a file. Still considering the user will have to delete and reinstall the app, the backup file needs to be saved outside the app. Therefore I use ShareLink and leave it the user to save it in the appropriate place. Then at relaunching the new app, the possibility is offered the user either to start from scratch or load the backup file with a file picker. I tried to reload the backup file without reinstallation of the app. The problem I faced was when removing the old data from core using a batchDeleteRequest. It generated exceptions in other views (especially the one displaying the content of the database). Whereas when relaunching the app after reinstallation, core data is empty yet no exception is generated.
3w