Before I load a URL on WebView i want to set a value inside browser LocalStorage.
Till now the only way I did managed to set this value is after the page is loaded. This is how I can set the value:
I did try to override the method
onPageStarted(), but the value is not stored.
How can I set this key/value before the call
browser.loadUrl()? The url/page depends on this value, so I need to set the value before I load the page.
What you can do is set a redirect into the
Answered By – Bas van Stein