Post

Replies

Boosts

Views

Activity

iOS app local storage persistency when updating app (Xamarin -> Flutter)
Currently in our published version of iOS app (built in Xamarin.Forms) we are storing some local data (settings etc.) as json and other files in the device. We are planning to do a major update when we re-create the whole app using Flutter. My question is: As long as bundle ID will be the same for the Flutter build as was for the Xamarin.Forms build and the app version of the Flutter build will be higher (than the previously one) will the update in the App Store will act just as a regular update of the app (so the user will theoretically even not notice that the newer version was built with different approach)? Will the update keep or delete the local files stored by the previous version of the app? Even that the older version is build of the Xamarin.Forms and the newer one will be build of the Flutter? Of course the Flutter version will direct to same paths and files as the previous Xamarin version. The files are stored in paths: /var/mobile/Containers/Data/Application//Library/MyApp/ e.g.: .../Library/MyApp/settings.json .../Library/MyApp/Media/caches.json .../Library/MyApp/Media/Settings/settings.json ... etc. Some settings are also stored in .plist NSUserDefaults.StandardUserDefaults as key/value pairs. Is there any official documentation about those 2 my questions? So far I have only found some info about bundle ID in general but no article directly answered me those 2 questions (mentioned above).
2
0
1.2k
Jan ’24