Android SDK calls WebView.clearCache which clears the cache for all WebView instances in the application
1

I'm building a hybrid app that uses WebView to display content. I also use the Audience Network SDK through a third-party mediator (AppLovin). I suspect that the Audience Network SDK calls WebView.clearCache(), which, according to the docs, clears the cache for all the application WebViews. This hurts my app's performance, forcing the WebView to re-download many assets.

Is there a way to prevent the call to clearCache?

Tzach
Chiesta circa 11 mesi fa