Last active
August 30, 2019 12:10
-
-
Save aronbudinszky/50bbab5b32df4ba9d709a709c90ef427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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