AzureAD / microsoft-authentication-library-common-for-android

Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
MIT License
41 stars 35 forks source link

Catch strongbox exception on Android 14 #2158

Closed somalaya closed 1 year ago

somalaya commented 1 year ago

Issue : This is related to the fix we did in the PR https://github.com/AzureAD/microsoft-authentication-library-common-for-android/pull/2053

The fix we did previously worked and Defender team confirmed the same. They were unblocked on Andorid 14. But, I started seeing the same issue again on Android 14 because the "Build.VERSION.RELEASE_OR_CODENAME" is different now. This is happening only on some devices (I think.. because, Defender team is not seeing this issue). Build.VERSION.RELEASE_OR_CODENAME was previously UpsideDownCake. Now it is coming as "14".

Fix :