Android设备重启时,WebView中的Cookie、本地存储值会被删除吗?
我正在开发基于 Webview 的 Android 应用程序,在我的应用程序中将一些值存储到 cookie 和 HTML5 本地存储中。我想知道 cookie 和本地存储对于下面提到的 2 个场景有什么不同的行为,因为我没有 Android 设备。
- 设备重启时Cookie、本地存储值是否被删除?
- 当设备应用程序崩溃时,Cookie、本地存储值是否被删除?
- 进入后台堆栈后恢复时Cookie、本地存储值是否被删除?
提前致谢 〜斯里
I m developing Webview based Android application, In my application storing some values into cookies and HTML5 local storage. I would like to know what is the different behavior for cookie and local storage for below mentioned 2 scenario's,since i don't have Android device with me.
- Whether Cookie,Local storage values are deleted when device is restarted?
- Whether Cookie,Local storage values are deleted when device is app crashed?
- Whether Cookie,Local storage values are deleted when resume back after enters into background stack?
Thanks in advance
~sri
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)