Skip to content

Version 9.4.0

Compare
Choose a tag to compare
@msft-cofitz msft-cofitz released this 24 Feb 18:08
· 19 commits to master since this release

What’s New

  • Add new preview build plugin to support Android Gradle Plugin 8.0.
    This plugin can be applied by adding -preview to the sdk version
    and ensuring the -preview library is included on the buildscript
    classpath.
  • Add an overload to MAMEnrollmentManager.unregisterAccountForMAM()
    that takes the account's OID in addition to its UPN to more precisely
    identify the account.
  • MAMServiceAuthenticationCallbackExtended interface is added to provide
    an overload of the acquireToken method that accepts additional parameters
    for the AAD Tenant Id and the AAD Authority. Apps that need one or more
    of these additional parameters to correctly acquire tokens should
    implement this interface, but other apps don't need to.
  • Fix build plugin issue applying certain rewrites to super calls in
    an invalid way. This could result in invalid bytecode (and then
    runtime crashes) in apps which subclasses system services wrapped by
    MAM, notably LayoutInflater.
  • The build plugin will now modify subclasses of LayoutInflater such
    that they inherit from MAMLayoutInflater.
  • Add MAM Strict Mode check: UNREGISTER_ACCOUNT_WITHIN_ACQUIRE_TOKEN to
    check for calls to the MAMEnrollmentManager's unregisterAccountForMAM()
    method from within the app-provided MAMServiceAuthenticationCallback's
    acquireToken() method. This can cause compliance remediation to fail,
    and will not unregister the account.