lesnitsky / flutter_localstorage

📦 LocalStorage for Flutter
MIT License
301 stars 60 forks source link

Data is not persistent #78

Closed jabirmayar closed 2 years ago

jabirmayar commented 2 years ago

Data gets lost on hot restart or after restarting the application.

await storage.ready;
storage.getItem('item'); 

is not working.

Dobbychen commented 2 years ago

Experiencing the same from android

Colin-XKL commented 2 years ago

same question, tested on windows

Colin-XKL commented 2 years ago

fixed.
see https://github.com/lesnitsky/flutter_localstorage/issues/49#issuecomment-676146168
the author should mention it in the official doc in pub.dev 😅

jabirmayar commented 2 years ago

Experiencing the same from android any news???

fixed. see #49 (comment) the author should mention it in the official doc in pub.dev 😅

Well, i tried that as you can see code in the start but the issue for me is not resolved.

lesnitsky commented 2 years ago

@jabirmayar please provide a minimal reproducible example

jabirmayar commented 2 years ago

Sorry, I tried and it worked in another project. There was a problem with one of my data fields. Closing this.