08-31-2011 02:43 PM
Hi all,
I am using Web DB to store some user info which is critical to my app (that I am creating). If/when I release a new version, will the content stored in Web DB be deleted if the user upgrades to a newer version? Obviously i would keep the same DB structure in the new version but if the user loses all the previously stored info then the app is useless. And since blackberry.io.file.saveFile isn't available to webworks as of yet, I have no way of preventing data loss or creating a backup.
Thanks.
Solved! Go to Solution.
09-01-2011 09:57 AM
The data won't be deleted. Just make sure you NEVER change the name of your app or it will install as a new app.
09-01-2011 10:30 AM
Thanks.
interfaSys wrote:
The data won't be deleted. Just make sure you NEVER change the name of your app or it will install as a new app.
09-02-2011 08:35 AM
Is there any way to test and verify that this is the case?
09-02-2011 10:04 AM
Just change the version number and install the app again. You should not lose anything.
09-02-2011 10:35 AM
You mean change the version in the config file and then re-install using the debug token/developer mode onto my playbook? I'll give that a shot to see if it creates a new app or overwrites the existing test app.
Thanks.
09-02-2011 10:37 AM
Exactly.
If you only bump the version number, you should be all right.