angular-local-storage icon indicating copy to clipboard operation
angular-local-storage copied to clipboard

Making Webview localstorage persistant after app closed

Open rodrigograca31 opened this issue 10 years ago • 4 comments
trafficstars

Hi.

I'm using this module in an Cordova project and it works on the browser... But on the Android App when I close the app it loses all the information stored on the localstorage....

I've noticed that the "ngStorage" module does not do that... But I want to use this one....

Can you fix this problem or tell me what I need to change?

rodrigograca31 avatar Mar 16 '15 19:03 rodrigograca31

I haven't noticed or heard of this issue until now. I am not sure what is causing it.

Can you create an Issue on Github so someone can look into it?

Thanks.

Greg

On Mon, Mar 16, 2015 at 4:56 PM, Rodrigo Graça [email protected] wrote:

Hi.

I'm using this module in an Cordova project and it works on the browser... But on the Android App when I close the app it loses all the information stored on the localstorage....

I've noticed that the "ngStorage https://github.com/gsklee/ngStorage" module does not do that... But I want to use this one....

Can you fix this problem or tell me what I need to change?

— Reply to this email directly or view it on GitHub https://github.com/grevory/angular-local-storage/issues/202.

grevory avatar Mar 16 '15 19:03 grevory

Hi @grevory this is an issue on Github.... You are replying from your email and got confused right...?

rodrigograca31 avatar Mar 16 '15 20:03 rodrigograca31

Yes. Thought this came in as a personal message. Not sure why. I clearly did not read it well.

grevory avatar Mar 17 '15 15:03 grevory

I guess this is a problem with this particular module... As I said before it works with another one...

And now I discovered that making it "by hand" also works on mobile: http://learn.ionicframework.com/formulas/localstorage/ (first code block)

rodrigograca31 avatar Mar 18 '15 12:03 rodrigograca31