-
-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAC (proxy auto-config) for WebView #3171
Comments
I'm not fundamentally opposed to adding support for proxy configuration; however this is going to need a lot more research to determine what is actually possible across the platforms we support. Unless there's a prospect of supporting this on at least some platforms through a publicly available API, there's not much we can do. |
So is there anyway to directly interact with android webview like we do in java or kotlin? |
Well... yes... that's how Toga works. It's invoking Android APIs using the Chaquopy bridge. |
So, if i want to add google maven https://developer.android.com/jetpack/androidx/releases/webkit How should i specify briefscape?. |
I'm afraid I can't read Chinese, so I have a limited ability to understand what you're linking there. If you're asking the general question about how to access an Android API - you use the Chaquopy API I linked earlier, and modify the It's also worth noting that Toga isn't using It might be possible to modify toga-android to use a jetpack androidx webkit view, but that would require a substantial rewrite of the Toga-android WebView widget. |
What is the problem or limitation you are having?
I want to set pac (auto proxy) of webview.
Describe the solution you'd like
Maybe a switch like user-agent.
On windows webview 2, i've written one(not python), it use an chromium command line swtich
to start webview2.
On android webview, jetpack supports proxy setting but i don't know whether pac is provided. refrences
Describe alternatives you've considered
If it is not supported, maybe we need to deal with the http requets manually.
Additional context
No response
The text was updated successfully, but these errors were encountered: