WebView Cache Data Directory?

前端 未结 2 965
暗喜
暗喜 2020-12-29 17:19

In my code I have a custom cache directory set to the sdCard and I point the \'WebView.getSettings().setAppCachePath(\"\")\' to this path but the OS sends the cache to the d

相关标签:
2条回答
  • 2020-12-29 17:38

    From what I could tell by reading the WebSettings code, the cache configuration on WebSettings is only for HTML5 apps:

    http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.3_r1/android/webkit/WebSettings.java#181

    0 讨论(0)
  • 2020-12-29 17:39

    This is Chromium bug 245549 which was fixed in end-November 2014 so probably affects all versions of Android below 6.0 (API 23).

    0 讨论(0)
提交回复
热议问题