-
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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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: