Skip to content

Instantly share code, notes, and snippets.

@aronbudinszky
Last active August 30, 2019 12:10
Show Gist options
  • Save aronbudinszky/50bbab5b32df4ba9d709a709c90ef427 to your computer and use it in GitHub Desktop.
Save aronbudinszky/50bbab5b32df4ba9d709a709c90ef427 to your computer and use it in GitHub Desktop.
void main() async {
if (!kReleaseMode) {
// For Android devices you can also allowBadCertificates: true below, but you should ONLY do this when !kReleaseMode
final proxy = CustomProxy(ipAddress: "localhost", port: 8888);
proxy.enable();
}
// Run app
runApp(MyApp());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment