You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
I'm using the storage class to save information permanently but I notice, using the simulator and a real device, that every time I compile a new version of the app it erases the persistent storage. I assume that loading a new version of the app from the app store will not erase this persistent storage. Is that true? Also is there a way to update the app in the simulator that will leave the persistent storage intact?
Thanks, Dennis
Shai Almog
unread,
Mar 3, 2021, 9:07:45 PM3/3/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
This isn't erased. I'm guessing you have an exception or rely on things such as getClass().getName() which would be flaky. You can see that storage is written into your .cn1 directory and should be accessible from there in the simulator.