Skip to content

lanis-mobile/http_proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork fixes compilation error for the newest Flutter version and adds support for iOS PAC

http_proxy

http_proxy get the proxy settings of mobile device automatically,and set up proxy for http.

Getting Started

You should initialize before runapp().

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  HttpProxy httpProxy = await HttpProxy.createHttpProxy();
  HttpOverrides.global=httpProxy;
  runApp(MyApp());
}

That's all done.You can use Charles or other proxy tools now.

⚠️ Plugin ignores all CA checks because http library does't use platform CA store.The suggestion that the plugin is available only in dev environment is security for https requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 37.3%
  • Ruby 27.3%
  • Objective-C 15.9%
  • Java 11.8%
  • HTML 7.7%