Skip to content

how to debug android webview #2765

Answered by rmartin16
Jzhenli asked this question in Q&A
Aug 13, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Actually, apologies, I misled myself that my proposed workaround (now removed) was working.

Instead, after you create your WebView, run this to enable DOM storage for the Android WebView:

if toga.platform.current_platform == "android":
    self.web_view._impl.settings.setDomStorageEnabled(True)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rmartin16
Comment options

@rmartin16
Comment options

Answer selected by Jzhenli
@freakboy3742
Comment options

@freakboy3742
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants