v1.2.7
new
- Add
--network-security-config/-Nflag to thepatchapkcommand. This flag will add a network security config to the APK as well as the requiredandroid:networkSecurityConfigtag to theAndroidManifest.xml's<application>tag. This helps for Android 7+ and the changes to CA certificates that were introduced. - Add a hook on the
verifyChain()method in thecom.android.org.conscrypt.TrustManagerImplclass to suppress exceptions that could get thrown if a certificate with a non-trusted CA is presented. This hook is available in theandroid sslpinning disablecommand and should take preference over--network-security-configflag in thepatchapkcommand.
fixes
- The
patchapkcommand used to strip all.'s from the resultant APK's name. This should no longer happen.