Ionic 3 Missing Localstorage

Asked

Viewed 63 times

1

I have an Ionic 1 application that saves some information in the Torage locale. I rewrote the same application in Ionic 3 with the same package id(widget id in config.xml), but when installing the new application over the old one I lose the localStorage, it comes empty.

If I install the old one again over the new one I can see again the localStorage, it’s like they’re different applications, but they have the same package id and I always install one over the other.

This happens only on mobile, applications are not sharing the same localStorage. When accessing google Devtools in the "Application" - "Storage" - "Local Storage" tab "file://" appears when I run the application created in Ionic 1 and appears "http://localhost:8080" when I run the application created in Ionic 3.

There is some particularity in Ionic 3 that cannot see/access the Ionic 1 Path and vice versa?

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.