I'm having issues when I try to upgrade the AGP ( Android Gradle Plugin ) version of this sample,
Step to reproduce :
downloaded latest version of the Taskr sample source code from here,
open it with Android Studio, generate signed release apk,
uploading the apk to intune as lob app,
indicates "MAM Enabled: Yes", everything's fine,
current project settings :
Gradle version 6.2
AGP : 4.0.2
Upgrading only Gradle version to 6.9.3, keeping AGP to 4.0.2,
uploading new generated signed apk to intune,
still indicates "MAM Enabled: Yes" ...
Now upgrading AGP to any version to 4.2.0 or any above,
( version till 4.1.3 are OK )
when uploading to intune, it indicates "MAM Enabled: No"
( uploading the debug apk indicates "Yes" )
if modifying it again, and set it back to 4.0.2 or 4.1.3,
intune indicates "MAM Enabled: Yes"
Nothing else is modified except the version of these...
My question is : Why the upgrade of AGP fails the enabling of MAM ?
Are some additional parameters needed to make it work ?
If I start a new project from scratch with Android Studio,
by default Gradle version is 7.5 and AGP is 7.4.1,
after integrating msal and intune SDKs, I have the same issue...
Hi there,
I'm having issues when I try to upgrade the AGP ( Android Gradle Plugin ) version of this sample, Step to reproduce :
downloaded latest version of the Taskr sample source code from here, open it with Android Studio, generate signed release apk, uploading the apk to intune as lob app, indicates "MAM Enabled: Yes", everything's fine, current project settings : Gradle version 6.2 AGP : 4.0.2
Upgrading only Gradle version to 6.9.3, keeping AGP to 4.0.2, uploading new generated signed apk to intune, still indicates "MAM Enabled: Yes" ...
Now upgrading AGP to any version to 4.2.0 or any above, ( version till 4.1.3 are OK ) when uploading to intune, it indicates "MAM Enabled: No" ( uploading the debug apk indicates "Yes" )
if modifying it again, and set it back to 4.0.2 or 4.1.3, intune indicates "MAM Enabled: Yes"
Nothing else is modified except the version of these...
My question is : Why the upgrade of AGP fails the enabling of MAM ? Are some additional parameters needed to make it work ?
If I start a new project from scratch with Android Studio, by default Gradle version is 7.5 and AGP is 7.4.1, after integrating msal and intune SDKs, I have the same issue...
Best regards