diff --git a/app/proguard.pro b/app/proguard.pro index 7fed68313..14e6556af 100644 --- a/app/proguard.pro +++ b/app/proguard.pro @@ -51,4 +51,11 @@ # material icons -keep class androidx.compose.material.icons.outlined.** { *; } +# microsoft authentication + +-dontwarn com.microsoft.device.display.DisplayMask +-dontwarn com.google.android.libraries.identity.** +-dontwarn edu.umd.cs.findbugs.annotations.** +-dontwarn com.google.crypto.tink.subtle.** + -keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite { ; } diff --git a/app/src/genericRelease/res/raw/microsoft_config.json b/app/src/genericRelease/res/raw/microsoft_config.json new file mode 100644 index 000000000..51215e776 --- /dev/null +++ b/app/src/genericRelease/res/raw/microsoft_config.json @@ -0,0 +1,20 @@ +{ + "client_id" : "9d4babd5-e7ba-4286-ba4b-17274495a901", + "authorization_user_agent" : "DEFAULT", + "redirect_uri" : "msauth://org.tasks/xVwQTvk42gGm0o6zNvelaYloFcs%3D", + "account_mode" : "MULTIPLE", + "authorities" : [ + { + "type": "AAD", + "audience": { + "type": "AzureADandPersonalMicrosoftAccount", + "tenant_id": "common" + } + } + ], + "logging": { + "level": "info", + "logcat_enabled": true, + "pii_enabled": false + } +}