x/mobile: The network of built iOS framework did not follow iOS system proxy setting #47162
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
We use gomobile bind command to build iOS framework library, the library is just using net/http to do a simple http request to google or some website.
When we using Xcode to include the iOS framework we built and then build the iOS app, everything is working fine as usual.
But if we set system proxy in iOS setting or using other apps (e.g. Charles or other vpn/proxy apps) to set system proxy,
we found the IOS framework library is not following the system proxy setting, it goes the original network setting without proxy.
Which leads the issue that network cannot work correctly. For some case that the network only allowed internal proxy, for example in some company corporate network.
gomobile build command:
gomobile version:
What did you expect to see?
The network of built iOS framework should respect system proxy setting
What did you see instead?
The text was updated successfully, but these errors were encountered: