Skip to content

Webview javascript injection won't work on latest Android versions #1

@louisptremblay

Description

@louisptremblay

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions