iOS broswer数据 - >缓存& Cookie的PhoneGap应用程序/会话? [英] iOS broswer data -> Cache & Cookie for Phonegap App / Session?
问题描述
当用户需要将数据上传到服务器时,webView(或atleast我相信这是它的称为)加载外部网页...
现在这里是catch。当我加载应用程序(从软复位,烹饪和存储数据在iPad上清除),我得到此屏幕
然而,如果我进入网络浏览器打开看起来像这样的应用程序
那么功能在应用程序也一样正常,就像模仿网络浏览器。这似乎是持续一个会话,或只要应用程序保持打开/最小化,但不退出本身。
这似乎很奇怪,我不能得到我
OOH btw,它发生在两个方面2.1 and 2.2 phonegap builds using build.phonegap.com
Henry
我最终实际上走了一条不同的路线。这个具体问题实际上是服务器处理从不同设备类型访问而不是应用程序设计/开发的方式。然而,我发现在我的旅行,使用子版本浏览器在更高版本是更稳定。
I am producing a phonegap app which is half native and half web based.
When a user is required to upload data to the server, the webView (or atleast i belive this is what its called) loads an external webpage...
Now here is the catch. When I load the app (from soft reset and cooking and storage data cleard on the iPad) I get this screen
however if I go into the web browser before opening the app which looks like this and then I go to re-launch/open the app, I get this
then the functions are as normal in the app also, like mimicking the web browser. This seems to persist for a "Session" or as long as the app remains open/minimised but not exited as such.
It seems strange and I can't get my head round a solution to this?
Any ideas would be great.
OOH btw, it occurs in both 2.1 and 2.2 phonegap builds using build.phonegap.com
Henry
I ended up actually going down a different route. This particular issue was actually the way the server handled access from different device types rather than the app design/development. However, I did find along my travels that using child browsers in later versions were far more stable.
这篇关于iOS broswer数据 - >缓存& Cookie的PhoneGap应用程序/会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!