ms-intune-app-sdk-android
ms-intune-app-sdk-android copied to clipboard
`intune_mam_manifest.xml` Resource Obfuscation in Release Builds Beginning in AGP 4.2 Prevents Accurate "MAM Enabled" Status in Endpoint Manager
Describe the bug: When uploading an APK to Microsoft Endpoint Manager Admin Center if the build is debug it will report as "MAM Enabled: Yes" but if built as release it will report as "MAM Enabled: No"
To Reproduce Steps to reproduce the behavior with a release build APK:
- Go to All Services -> Apps -> Add App -> Line of Business App - Choose APK
- Notice that MAM Enabled: No
Expected behavior: Release builds can be uploaded as MAM Enabled.
Screenshots and logs: Debug:
Release:
Intune App SDK for Android (please complete the following information):
-
What version of the Intune SDK are you using? Are you using the latest version?
-
8.3.0
-
What platform is your app based in (Java, Xamarin based, Cordova, etc)? Capacitor
Additional context: In testing the signature of the APK the MAM Enabled flag isn't affected by the signature used in the androidmanifest.xml. It seems to be specifically that release android builds report MAM Enabled = no while the debug build reports yes.