Any event for upgrade install?

Meaning when new patch of APK sent, if the user is installing the pack, how to handle schema updates just for that first run, is there an event… The user will be asked not to uninstall, as we have to export the current SQLite data in CSV format, make necessary schema changes, then re-import the data onto modified schema… Thanks

in the Screen1.Initialize event you can check the current version of the app and run your updates on first run of the new version

the tools extension https://puravidaapps.com/tools.php offers the methods VersionCode and VersionName which can help you for this

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like

Thank you Taifun

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.