dartmole_plugin 0.1.0 copy "dartmole_plugin: ^0.1.0" to clipboard
dartmole_plugin: ^0.1.0 copied to clipboard

Routes a Flutter app's HTTP through Dartmole, so it can be inspected and mocked.

0.1.0 #

First release.

  • Dartmole().createHttpClient() routes Dart HTTP through a paired Dartmole, trusting its certificate authority alongside the system ones. Unpaired or switched off, it is an ordinary HttpClient.
  • Pairing by QR code or typed address, in the DartmoleSettings panel.
  • Pairing.toJson/fromJson and Dartmole().reconnect for remembering a pairing across launches, with the certificate authority pinned.
  • Also intercept native traffic links to Dartmole's setup page for device-wide interception. UserCertificateTrust.check() tells whether the build can use it; on Android this reads the build's network security config.
  • DartmoleSettings checks that interception works rather than only that it is on: a request down Dart's networking and one down the platform's, with what is missing when either does not reach Dartmole. In code: checkDartTraffic() and checkNativeTraffic(). The plugin now has iOS native code as well as Android.
0
likes
0
points
60
downloads

Publisher

verified publisherskystoneapps.com

Weekly Downloads

Routes a Flutter app's HTTP through Dartmole, so it can be inspected and mocked.

Homepage

Topics

#http #network #debugging #proxy #mock

License

unknown (license)

Dependencies

flutter, mobile_scanner, url_launcher

More

Packages that depend on dartmole_plugin

Packages that implement dartmole_plugin