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

前端 未结 4 1103
南方客
南方客 2020-12-13 20:50

My question is essentially a follow up or clarification to this question.

I have an Android app built using Javascript and Adobe\'s Phonegap Build service, and I\'m

4条回答
  •  失恋的感觉
    2020-12-13 21:23

    Since Phonegap uses Webiview to render your app : WebView and Phonegap.

    And For security reason each app that uses WebView has its own cache and history. "No User or OS wants such data to be accessed by 3rd party applications". So in a nutshell, your app will keep its own history and data in its cache folder and will be deleted in one of the following cases:

    • User manually deleted them.
    • User used app setting screen and deleted them.
    • App uninstalled.

    To read more about this. take look at WebView cache : Cookie and window management

提交回复
热议问题