-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add an option to include a generic Network Security Configuration file to the output APK #1622
Comments
Just adding a comment to let you know I read this. Since we introduced an "analysis" mode, I'm open to adding other similar features like this. However, I did recently close a feature request that was some sort of automation for a task like this. I will think on this some more and let you know. |
Okay agreed this would be helpful. I will take this on as a feature. |
+1 |
how to add network_security_config.xml manually via apktool to rebuild?.
|
Adding feature tag. |
It would be very useful to have a setting to (optionally) include a generic Network Security Configuration file available in Android 7.x (Nougat) no any new APK that is rebuild through apktool (specially with a target SDK version of Android 7.x, or API level 24).
The new feature should allow adding a permissive default network_security_config.xml file that allows intercepting all HTTPS traffic generated by the app accepting both system and user imported CAs, or even allow adding a custom XML file provided by the user.
See: https://developer.android.com/training/articles/security-config.html
Suggested default file for: res/xml/network_security_config.xml
The suggested option would be similar to the current "apktool build -d" option, that sets the "android:debuggable" to "true" in the AndroidManifest.xml file.
The new suggested option could be:
The addition of a new Network Security Configuration file requires adding the new "res/xml/network_security_config.xml" to the app APK, as well as referencing it from the AndroidManifest.xml file:
The text was updated successfully, but these errors were encountered: