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

前端 未结 4 1111
南方客
南方客 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:27

    Nope, the cache created within the in-app browser can only be deleted with the methods:

    window.localStorage.removeItem("key");
    

    or

    window.localStorage.clear();
    

    or app uninstall

    or manual action (delete data/cache) in the application manager.

    But the best answer is to make an experiment yourself and see what happens.

提交回复
热议问题