Webview javascript injection won't work on latest Android versions
louisptremblay opened this issue · 1 comments
louisptremblay commented
On Android 5.1 (tested on Galaxy S6), the javascript injection won't work as is (and pages using measureContent won't load).
If we do
document.location = {some json};
it won't fire the location changing event as it did in Android 4. The workaround is to use
document.location = fakeprotocol://{some json}
Then parse it out in the event handler
Other than this, thank you for a very useful component
velara3 commented
Thanks!