Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic:// URL and localStorage #485

Closed
joehui opened this issue Dec 3, 2019 · 2 comments
Closed

ionic:// URL and localStorage #485

joehui opened this issue Dec 3, 2019 · 2 comments

Comments

@joehui
Copy link

joehui commented Dec 3, 2019

On iOS, is it normal that my root page has URL starting with ionic://localhost? I was expecting http://localhost?

I am having some issues with migrating localStorage from UIWebView. I suspect the ionic:// part is causing the data to not appear. I think localStorage is specific to protocol, host, and port.

Any help would be greatly appreciated.

@joehui
Copy link
Author

joehui commented Dec 3, 2019

Oh, I am using this plugin with cordova, not Ionic.

@jcesarmobile
Copy link
Member

yes, it's normal, and yes, webview storage is tied to the scheme, origin, port, etc.

For migrating data, there are a few plugins that claim to do it, but didn't test any of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants