Phonegap In App Browser and Local Storage

旧街凉风 提交于 2019-12-07 22:41:03

问题


I am going to create an Android application using HTML5/jQuery and Phonegap In app Browser. I will display web page inside the In app Browser,

I want to implement the functionality that the user only enters his Name when he first time access the application.

I can save value using Phonegap's Local Storage but can't find how to access this value inside In app Browser.

Any help will be much appreciated.

Thanks.


回答1:


Check the following documentation for more information

Is local storage for a Phonegap app on an Android device separate from the built in browser?




回答2:


I just tested it but it seems like the inappbrowser and your phone gap app uses different localStorage as if they are two different browser instances.



来源:https://stackoverflow.com/questions/17807537/phonegap-in-app-browser-and-local-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!