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.
On Wednesday, March 3, 2021 at 7:48:23 PM UTC+2 [email protected] wrote: > 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 > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/25ce49ca-eccb-4060-b23b-a6cda24371a3n%40googlegroups.com.
