|
Hi, I use toga to build a web view-based GUI backed by a web server for android app, the webview will always shows a white screen, but it's OK to open with browser. I don't know how to debug it in the toga, would u help me? Thanks. Attached is the example code, web is build with Vue, and server is the python default http.server. |
Answered by
rmartin16
Aug 13, 2024
Replies: 1 comment 4 replies
|
When I run a WebView in an Android emulator, I can remotely access its DevTools via chrome://inspect/ on the host machine. Same can be done for a physical device if USB Debugging, etc. is enabled on the device. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: