You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* use Android Proxy Selector instead or env vars.
* use minSDKVersion 31 in example
* ios: use min platform version 11.0 for example
* fix: use Foundation Lib for executing pac
* return error string instead of "Error"
* clean code
* release 0.1.0
* update: Homepage
* modify project details
Copy file name to clipboardExpand all lines: android/src/main/java/com/browserstack/fluttersystemproxy/flutter_system_proxy/FlutterSystemProxyPlugin.java
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@
3
3
importandroidx.annotation.NonNull;
4
4
importandroid.text.TextUtils;
5
5
6
+
importjava.net.InetSocketAddress;
7
+
importjava.net.Proxy;
8
+
importjava.net.ProxySelector;
9
+
importjava.net.URI;
6
10
importjava.util.HashMap;
7
11
importjava.util.Map;
8
12
@@ -31,12 +35,26 @@ public void onAttachedToEngine(@NonNull FlutterPluginBinding flutterPluginBindin
0 commit comments