Skip to content

Android Automatic Proxy from PAC Url #10

@DJTB

Description

@DJTB

Should this package be able to derive a proxy from automatic url (via pac file) settings on Android or only on iOS?

When debugging locally it seems to discover host:localhost and port:-1 (resulting in a final null returned) instead of PROXY 192.168.8.147:8888 which is what the findProxyForURL function in my pac returns, but trying with Platform Proxy I see the expected string.

For what it's worth, I can see that platform_proxy calls java's ProxySelector in the Android implementation which this package doesn't.

I tried working that logic into flutter_system_proxys java code but ran into some errors which I don't have the experience with java to figure out easily 😅 probably just a missing import but 🤷‍♂️

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions