Microsoft-authentication-library-for-dotnet: Due to MonoAndroid9.0, MSAL 3.0.0 Preview Throws System.PlatformNotSupportedException on Xamarin Forms App which target MonoAndroid8.1

Created on 5 Mar 2019  Â·  18Comments  Â·  Source: AzureAD/microsoft-authentication-library-for-dotnet

Which Version of MSAL are you using ?
MSAL 3.0.0-preview

Platform
Xamarin Forms, testing with Android on Pixel 3 XL

What authentication flow has the issue?

  • Desktop / Mobile

    • [ x] Interactive

    • [ ] Integrated Windows Auth

    • [ ] Username Password

    • [ ] Device code flow (browserless)

  • Web App

    • [ ] Authorization code

    • [ ] OBO

  • Web API

    • [ ] OBO

Other? - please describe;

Is this a new or existing app?

c. This is a new app or experiment

Repro
Created a brand new Xamarin Forms app in VS 2019 and install MSAL 3.0.0-Preview in all 3 projects.

Used the fluent api to build

PCA = PublicClientApplicationBuilder.Create(ClientID).Build();

Added the example code from here

Debug the Application.

Expected behavior
The authentication flow runs throw the browser and logs the user in.

Actual behavior
The following call throws an exception

result = await App.PCA.AcquireTokenInteractive(App.Scopes, null).ExecuteAsync();

Unhandled Exception:
System.PlatformNotSupportedException: Possible Cause: If you are using an XForms app, or generally a netstandard assembly, make sure you add a reference to Microsoft.Identity.Client.dll from each platform assembly (e.g. UWP, Android, iOS), not just from the common netstandard assembly

bug Mobile-Android v3

Most helpful comment

@jennyf19 Thank you, that solved it. I had the following line commented out, probably when I was trying to diagnose on my own.

AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs(requestCode, resultCode, data);

Thank you everyone for your assistance.

All 18 comments

@napoleonjones With Android, you can't pass in null to the OwnerWindow parameter in the AcquireTokenInteractive call.
In the Android MainActivity.cs, you can set the Android activity in OnCreate()
App.AndroidActivity = this;
Here's an example and add the property in App.cs
public static object AndroidActivity { get; set; }
Then, you can do this:

result = await App.MsalPublicClient.AcquireTokenInteractive(App.Scopes, App.AndroidActivity).ExecuteAsync();

I see our documentation does not cover this, so I will make sure we update it. Also, the error message needs to be improved. Thanks for letting us know.
cc: @jmprieur

@jennyf19 Thank you for the quick response!!! Unfortunately I am still getting the same error after implementing the suggested changes.

@napoleonjones Thanks for the update. Did you rebuild the XForms project? I know, for me, many times, if I change something in the XForms project and don't rebuild, the new changes are not registered. Also, can you enable logging and send the logs?

@jennyf19 Thank you. Below is the log beginning at the call to AcquiretokenSilent.

[0:] MsalUiRequiredException: Null account was passed in AcquiretokenSilent API. Pass in an account object or call acquireToken to authenticate.
03-05 20:12:31.778 D/Mono (30543): Loading reference 2 of System.Collections.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-05 20:12:31.778 D/Mono (30543): Assembly Ref addref System.Collections[0x7b64f7aa80] -> System[0x7b79053f00]: 13
03-05 20:12:31.784 D/Mono (30543): Loading reference 15 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Microsoft.Identity.Client.dll asmctx DEFAULT, looking for System.Text.RegularExpressions, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3amono_pe_file_map: Error opening file System.Text.RegularExpressions.dll (3): No such file or directory

03-05 20:12:31.787 D/Mono (30543): Image addref System.Text.RegularExpressions[0x7b64646580] (asmctx DEFAULT) -> System.Text.RegularExpressions.dll[0x7b64c9b800]: 2
03-05 20:12:31.788 D/Mono (30543): Prepared to set up assembly 'System.Text.RegularExpressions' (System.Text.RegularExpressions.dll)
mono_pe_file_map: Error opening file System.Reflection.dll (3): No such file or directory03-05 20:12:31.788 D/Mono (30543): Assembly System.Text.RegularExpressions[0x7b64646580] added to domain RootDomain, ref_count=1

03-05 20:12:31.791 D/Mono (30543): AOT: image 'System.Text.RegularExpressions.dll.so' not found: dlopen failed: library "System.Text.RegularExpressions.dll.so" not found
03-05 20:12:31.792 D/Mono (30543): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Text.RegularExpressions.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Text.RegularExpressions.dll.so" not found
03-05 20:12:31.792 D/Mono (30543): Config attempting to parse: 'System.Text.RegularExpressions.dll.config'.Loaded assembly: System.Text.RegularExpressions.dll [External]

03-05 20:12:31.792 D/Mono (30543): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System.Text.RegularExpressions/System.Text.RegularExpressions.config'.
03-05 20:12:31.792 D/Mono (30543): Assembly Ref addref Microsoft.Identity.Client[0x7b7903b000] -> System.Text.RegularExpressions[0x7b64646580]: 2
03-05 20:12:31.792 D/Mono (30543): Loading reference 1 of System.Text.RegularExpressions.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798eLoaded assembly: System.Reflection.dll [External]

03-05 20:12:31.793 D/Mono (30543): Assembly Ref addref System.Text.RegularExpressions[0x7b64646580] -> System[0x7b79053f00]: 14
03-05 20:12:31.793 D/Mono (30543): Loading reference 10 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Microsoft.Identity.Client.dll asmctx DEFAULT, looking for System.Reflection, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
03-05 20:12:31.795 D/Mono (30543): Image addref System.Reflection[0x7b64646a00] (asmctx DEFAULT) -> System.Reflection.dll[0x7b63900000]: 2
03-05 20:12:31.795 D/Mono (30543): Prepared to set up assembly 'System.Reflection' (System.Reflection.dll)
03-05 20:12:31.795 D/Mono (30543): Assembly System.Reflection[0x7b64646a00] added to domain RootDomain, ref_count=1
03-05 20:12:31.797 D/Mono (30543): AOT: image 'System.Reflection.dll.so' not found: dlopen failed: library "System.Reflection.dll.so" not found
03-05 20:12:31.798 D/Mono (30543): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Reflection.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Reflection.dll.so" not found
03-05 20:12:31.798 D/Mono (30543): Config attempting to parse: 'System.Reflection.dll.config'.
03-05 20:12:31.798 D/Mono (30543): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System.Reflection/System.Reflection.config'.
03-05 20:12:31.798 D/Mono (30543): Assembly Ref addref Microsoft.Identity.Client[0x7b7903b000] -> System.Reflection[0x7b64646a00]: 2
03-05 20:12:31.798 D/Mono (30543): Loading reference 0 of System.Reflection.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-05 20:12:31.799 D/Mono (30543): Assembly Ref addref System.Reflection[0x7b64646a00] -> mscorlib[0x7b82e7e380]: 52
03-05 20:12:31.832 D/Mono (30543): Loading reference 1 of System.ServiceModel.Internals.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-05 20:12:31.833 D/Mono (30543): Assembly Ref addref System.ServiceModel.Internals[0x7b7c4b8c00] -> System[0x7b79053f00]: 15
03-05 20:12:31.959 D/Mono (30543): Loading reference 31 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Microsoft.Identity.Client.dll asmctx DEFAULT, looking for System.Reflection.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3amono_pe_file_map: Error opening file System.Reflection.Extensions.dll (3): No such file or directory

03-05 20:12:31.962 D/Mono (30543): Image addref System.Reflection.Extensions[0x7b64646b00] (asmctx DEFAULT) -> System.Reflection.Extensions.dll[0x7b63954800]: 2
03-05 20:12:31.962 D/Mono (30543): Prepared to set up assembly 'System.Reflection.Extensions' (System.Reflection.Extensions.dll)
03-05 20:12:31.962 D/Mono (30543): Assembly System.Reflection.Extensions[0x7b64646b00] added to domain RootDomain, ref_count=1
03-05 20:12:31.964 D/Mono (30543): AOT: image 'System.Reflection.Extensions.dll.so' not found: dlopen failed: library "System.Reflection.Extensions.dll.so" not found
Loaded assembly: System.Reflection.Extensions.dll [External]03-05 20:12:31.965 D/Mono (30543): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Reflection.Extensions.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Reflection.Extensions.dll.so" not found

03-05 20:12:31.965 D/Mono (30543): Config attempting to parse: 'System.Reflection.Extensions.dll.config'.
03-05 20:12:31.965 D/Mono (30543): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System.Reflection.Extensions/System.Reflection.Extensions.config'.
03-05 20:12:31.965 D/Mono (30543): Assembly Ref addref Microsoft.Identity.Client[0x7b7903b000] -> System.Reflection.Extensions[0x7b64646b00]: 2
03-05 20:12:31.965 D/Mono (30543): Loading reference 0 of System.Reflection.Extensions.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-05 20:12:31.965 D/Mono (30543): Assembly Ref addref System.Reflection.Extensions[0x7b64646b00] -> mscorlib[0x7b82e7e380]: 53
03-05 20:12:32.032 I/mono-stdout(30543): Info (False) MSAL 3.0.0.0 MSAL.CoreCLR N/A [03/06/2019 01:12:31 - f2c3f338-1dbf-4b13-a53b-a1eecd7cf1eb] MSAL MSAL.CoreCLR with assembly version '3.0.0.0', file version '3.0.0.0' and informational version '3.0.0-preview+5824c277cfc3e2936b8a5b26240425b0fbd54c23'Info (False) MSAL 3.0.0.0 MSAL.CoreCLR N/A [03/06/2019 01:12:31 - f2c3f338-1dbf-4b13-a53b-a1eecd7cf1eb] MSAL MSAL.CoreCLR with assembly version '3.0.0.0', file version '3.0.0.0' and informational version '3.0.0-preview+5824c277cfc3e2936b8a5b26240425b0fbd54c23'

Unhandled Exception:

System.PlatformNotSupportedException: Possible Cause: If you are using an XForms app, or generally a netstandard assembly, make sure you add a reference to Microsoft.Identity.Client.dll from each platform assembly (e.g. UWP, Android, iOS), not just from the common netstandard assembly

@napoleonjones I can confirm that when passing in a null ownerWindow on Android, we throw a correct exception w/a clear error message: InvalidOperationException: Activity is required for parent object on Android.

However, I was able to repro your issue (thanks for all the details above).

@jmprieur @henrik-me
Repro is as follows:

  • Using VS 2019, create a new Xamarin Forms netstandard2.0 project with iOS/Android components
  • Do acquireToken interactive on android
  • MSAL is not picking up the platform (android)
  • In Validate(), we skip over checking the ownerWindow for android. Then here we are creating the authentication dialog, but picking up the netstandard1.3 WebUIFactory

Same repro happens w/3.x but not 2.7.1.
Will try w/VS 2017 next.

@napoleonjones thanks for the log...will hopefully have an update for you tomorrow. you can use 2.7.1 in the meantime.

As investigated with @jennyf19 , the root cause for this is that we have moved MSAL to build against MonoAndroid9.0. However, when you create a new XForms app with Visual Studio, the template creates the Android head with MonoAndroid8.1. So when you add a reference to MSAL, which is a multi-framework library, the installer (nuget) tries:

  • can I install MSAL for Android, framework MonoAndroid9.0 -> NO, because the target is only MonoAndroid8.1
  • fallback to Msal for NetStandard - however, you can't do Interactive auth with this because obviously NetStandard does not know how to host a browser in an Android frame.

Workaround 1: upgrade the Android head from Android 8.1 to Android 9.0
Workaround 2: use MSAL 2.7.x

@henrik-me, @MarkZuber - MonoAndroid9.0 (Pie) seems too restrictive at this point (not even VS 2019 defaults to it), we should try to add MonoAndroid8.1 (Oreo) support back?

@bgavrilMS @jennyf19 @MarkZuber : IMO we should go back to MonoAndroid8.1 (unless it introduces other issues). Would though like to understand if it option 1 helps though before making the call.

the reasons we moved forward is that we wanted later/other android/xamarin packages from nuget. if we're ok not having those, we can certainly move back.


From: henrikm notifications@github.com
Sent: Wednesday, March 6, 2019 11:31 AM
To: AzureAD/microsoft-authentication-library-for-dotnet
Cc: Mark Zuber; Mention
Subject: Re: [AzureAD/microsoft-authentication-library-for-dotnet] MSAL 3.0.0 Preview Throws System.PlatformNotSupportedException on Xamarin Forms App (#941)

@bgavrilMShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FbgavrilMS&data=02%7C01%7CMark.Zuber%40microsoft.com%7C4d23637c828647e261a508d6a26a4c79%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636874974768173232&sdata=ULt%2BqEedmMh8Rav6FivehRrD2yBBpbyQ0HV868Paq7A%3D&reserved=0 @jennyf19https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjennyf19&data=02%7C01%7CMark.Zuber%40microsoft.com%7C4d23637c828647e261a508d6a26a4c79%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636874974768183244&sdata=bWNLMBh1xEmrhaHQFZrAN4%2F3kPt7ay1ofdZIljwViCA%3D&reserved=0 @MarkZuberhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarkZuber&data=02%7C01%7CMark.Zuber%40microsoft.com%7C4d23637c828647e261a508d6a26a4c79%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636874974768183244&sdata=S%2BN2V010VZPxRU5hOfo3Z5TqUJSV9RXh9MbpzOe8fPM%3D&reserved=0 : IMO we should go back to MonoAndroid8.1 (unless it introduces other issues). Would though like to understand if it option 1 helps though before making the call.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzureAD%2Fmicrosoft-authentication-library-for-dotnet%2Fissues%2F941%23issuecomment-470243836&data=02%7C01%7CMark.Zuber%40microsoft.com%7C4d23637c828647e261a508d6a26a4c79%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636874974768193249&sdata=dvIvnHjEoo3d0NC6GfHweZlbJ%2BmYislmQDo0qGfVdrM%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGxiyqlFf3Qe9PAOqK19WVZhkS--aCEvks5vUBeCgaJpZM4bdrzR&data=02%7C01%7CMark.Zuber%40microsoft.com%7C4d23637c828647e261a508d6a26a4c79%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636874974768193249&sdata=E5sDIDqmTXorZNa8MtJc2zpjQQ67D4LBA6Nzhea7otc%3D&reserved=0.

if we can upgrade everything and that works, I'm find with that. Not sure from this thread if that is the case or not?

As suggested by @bgavrilMS, I was able to change the target framework version in the Android.csproj file from 8.1 to:
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
and that worked (of course passing in an Activity for the parent window in the AT interactive call).
@napoleonjones Could you verify changing the target framework to v9.0 works for you with MSAL v3?

The default target framework in VS when making a new Xamarin Forms project is 8.1 and we are targeting 9. So...do we want to move back to 8.1? That will require a little work, and @MarkZuber listed our reasons for targeting 9. Or do we document this and ask the customer to target 9.0?
@jmprieur @henrik-me

Let's stick to having everything to 9.0 if that works for others.

@jennyf19 @MarkZuber @jmprieur @henrik-me

After updating the target framework version to 9.0 for anyone reading this I had to enable Multi-Dex on the Android Project and restart all Visual Studio instances.

I am able to get to a sign-in flow, however it never returns from the below statement. Please let me know if I should open a new issue, I am more than happy to do so.

result = await App.PCA.AcquireTokenInteractive(App.Scopes, App.AndroidActivity).ExecuteAsync();

The only thing that is sticking out to me in the log is

handleWindowVisibility: no activity for token android.os.BinderProxy@9922806

This is the log data:

[0:] MsalUiRequiredException: Null account was passed in AcquiretokenSilent API. Pass in an account object or call acquireToken to authenticate.
03-06 18:11:19.013 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
03-06 18:11:19.013 D/Mono (22275): Searching for 'java_interop_jnienv_get_object_array_element'.
03-06 18:11:19.013 D/Mono (22275): Probing 'java_interop_jnienv_get_object_array_element'.
03-06 18:11:19.013 D/Mono (22275): Found as 'java_interop_jnienv_get_object_array_element'.
03-06 18:11:19.042 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - ad0c2d0d-7417-4931-a36e-935175f6e708] MSAL MSAL.Xamarin.Android with assembly version '3.0.0.0', file version '3.0.0.0' and informational version '3.0.0-preview+5824c277cfc3e2936b8a5b26240425b0fbd54c23'
03-06 18:11:19.058 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - ad0c2d0d-7417-4931-a36e-935175f6e708] MSAL MSAL.Xamarin.Android with assembly version '3.0.0.0', file version '3.0.0.0' and informational version '3.0.0-preview+5824c277cfc3e2936b8a5b26240425b0fbd54c23'Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - ad0c2d0d-7417-4931-a36e-935175f6e708] MSAL MSAL.Xamarin.Android with assembly version '3.0.0.0', file version '3.0.0.0' and informational version '3.0.0-preview+5824c277cfc3e2936b8a5b26240425b0fbd54c23'

Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee]
=== Request Data ===
Authority Provided? - True
Scopes - https://GotNextTenant.onmicrosoft.com/functions/offline_access https://GotNextTenant.onmicrosoft.com/functions/openid https://GotNextTenant.onmicrosoft.com/functions/user_impersonation
Extra Query Params Keys (space separated) -
03-06 18:11:19.185 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee]
Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===
LoginHint provided: False
User provided: False
UseEmbeddedWebView: False
ExtraScopesToConsent:
Prompt: select_account
HasCustomWebUi: False03-06 18:11:19.185 I/ (22275): === Request Data ===

03-06 18:11:19.185 I/ (22275): Authority Provided? - True
03-06 18:11:19.185 I/ (22275): Scopes - https://GotNextTenant.onmicrosoft.com/functions/offline_access https://GotNextTenant.onmicrosoft.com/functions/openid https://GotNextTenant.onmicrosoft.com/functions/user_impersonation
03-06 18:11:19.185 I/ (22275): Extra Query Params Keys (space separated) - Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===
LoginHint provided: False
User provided: False
UseEmbeddedWebView: False
ExtraScopesToConsent:
Prompt: select_account
HasCustomWebUi: False

03-06 18:11:19.185 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee]
03-06 18:11:19.186 I/mono-stdout(22275): === Request Data ===
03-06 18:11:19.186 I/mono-stdout(22275): Authority Provided? - True
03-06 18:11:19.186 I/mono-stdout(22275): Scopes - https://GotNextTenant.onmicrosoft.com/functions/offline_access https://GotNextTenant.onmicrosoft.com/functions/openid https://GotNextTenant.onmicrosoft.com/functions/user_impersonation
03-06 18:11:19.187 I/mono-stdout(22275): Extra Query Params Keys (space separated) -
03-06 18:11:19.187 I/mono-stdout(22275):
Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === Token Acquisition (InteractiveRequest) started:
Cache Provided: True
Authority Host: login.microsoftonline.com03-06 18:11:19.189 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===

03-06 18:11:19.189 I/ (22275): LoginHint provided: False
03-06 18:11:19.189 I/ (22275): User provided: False
03-06 18:11:19.189 I/ (22275): UseEmbeddedWebView: False
03-06 18:11:19.189 I/ (22275): ExtraScopesToConsent:
03-06 18:11:19.189 I/ (22275): Prompt: select_account
03-06 18:11:19.189 I/ (22275): HasCustomWebUi: False
03-06 18:11:19.190 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===
03-06 18:11:19.190 I/mono-stdout(22275): LoginHint provided: False
03-06 18:11:19.190 I/mono-stdout(22275): User provided: False
03-06 18:11:19.190 I/mono-stdout(22275): UseEmbeddedWebView: False
03-06 18:11:19.190 I/mono-stdout(22275): ExtraScopesToConsent:
03-06 18:11:19.190 I/mono-stdout(22275): Prompt: select_account
03-06 18:11:19.191 I/mono-stdout(22275): HasCustomWebUi: False
03-06 18:11:19.191 I/mono-stdout(22275):
03-06 18:11:19.197 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===
03-06 18:11:19.197 I/ (22275): LoginHint provided: False
03-06 18:11:19.197 I/ (22275): User provided: False
03-06 18:11:19.197 I/ (22275): UseEmbeddedWebView: False
03-06 18:11:19.197 I/ (22275): ExtraScopesToConsent:
03-06 18:11:19.197 I/ (22275): Prompt: select_account
03-06 18:11:19.197 I/ (22275): HasCustomWebUi: False
03-06 18:11:19.198 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === InteractiveParameters Data ===
03-06 18:11:19.198 I/mono-stdout(22275): LoginHint provided: False
03-06 18:11:19.198 I/mono-stdout(22275): User provided: False
03-06 18:11:19.198 I/mono-stdout(22275): UseEmbeddedWebView: False
03-06 18:11:19.198 I/mono-stdout(22275): ExtraScopesToConsent:
03-06 18:11:19.198 I/mono-stdout(22275): Prompt: select_account
03-06 18:11:19.198 I/mono-stdout(22275): HasCustomWebUi: False
03-06 18:11:19.198 I/mono-stdout(22275):
03-06 18:11:19.209 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === Token Acquisition (InteractiveRequest) started:
03-06 18:11:19.209 I/ (22275): Cache Provided: True
03-06 18:11:19.209 I/ (22275): Authority Host: login.microsoftonline.com
03-06 18:11:19.209 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:19 - e9208ee6-0178-4971-a89b-eea50a9d5aee] === Token Acquisition (InteractiveRequest) started:
03-06 18:11:19.209 I/mono-stdout(22275): Cache Provided: True
03-06 18:11:19.209 I/mono-stdout(22275): Authority Host: login.microsoftonline.com
03-06 18:11:19.278 D/Mono (22275): DllImport attempting to load: '__Internal'.
03-06 18:11:19.279 D/Mono (22275): DllImport loaded library '(null)'.
03-06 18:11:19.279 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
03-06 18:11:19.279 D/Mono (22275): Searching for 'monodroid_get_system_property'.
03-06 18:11:19.279 D/Mono (22275): Probing 'monodroid_get_system_property'.
03-06 18:11:19.279 D/Mono (22275): Found as 'monodroid_get_system_property'.
03-06 18:11:19.279 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
03-06 18:11:19.279 D/Mono (22275): Searching for 'monodroid_free'.
03-06 18:11:19.279 D/Mono (22275): Probing 'monodroid_free'.
03-06 18:11:19.279 D/Mono (22275): Found as 'monodroid_free'.
Thread started: #3
03-06 18:11:19.476 D/Mono (22275): Loading reference 1 of System.dll asmctx DEFAULT, looking for Mono.Security, Version=2.0.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
03-06 18:11:19.484 D/Mono (22275): Image addref Mono.Security[0x77b0469500] (asmctx DEFAULT) -> Mono.Security.dll[0x77b1020800]: 2
mono_pe_file_map: Error opening file Mono.Security.dll (3): No such file or directory03-06 18:11:19.484 D/Mono (22275): Prepared to set up assembly 'Mono.Security' (Mono.Security.dll)

03-06 18:11:19.485 D/Mono (22275): Assembly Mono.Security[0x77b0469500] added to domain RootDomain, ref_count=1
03-06 18:11:19.488 D/Mono (22275): AOT: image 'Mono.Security.dll.so' not found: dlopen failed: library "Mono.Security.dll.so" not found
03-06 18:11:19.489 D/Mono (22275): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/Mono.Security.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/Mono.Security.dll.so" not found
03-06 18:11:19.489 D/Mono (22275): Config attempting to parse: 'Mono.Security.dll.config'.
03-06 18:11:19.489 D/Mono (22275): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/Mono.Security/Mono.Security.config'.
03-06 18:11:19.489 D/Mono (22275): Assembly Ref addref System[0x77c545ea00] -> Mono.Security[0x77b0469500]: 2
Loaded assembly: Mono.Security.dll [External]03-06 18:11:19.489 D/Mono (22275): Loading reference 0 of Mono.Security.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e

03-06 18:11:19.489 D/Mono (22275): Assembly Ref addref Mono.Security[0x77b0469500] -> mscorlib[0x77cf090680]: 62
03-06 18:11:19.520 D/Mono (22275): Loading reference 2 of System.Net.Http.dll asmctx DEFAULT, looking for System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:19.520 D/Mono (22275): Assembly Ref addref System.Net.Http[0x77b1130680] -> System.Core[0x77c545eb80]: 7
Thread started: #4
Thread started: #5
Thread started: #6
Thread started: #7
Thread started: #8
Thread started: #9
Thread started: #10
03-06 18:11:20.090 D/Mono (22275): Loading reference 9 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Xamarin.Forms.Platform.Android.dll asmctx DEFAULT, looking for System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.111 D/Mono (22275): Image addref System.Runtime.Serialization[0x77c8bcf580] (asmctx DEFAULT) -> System.Runtime.Serialization.dll[0x77c8bcc800]: 2mono_pe_file_map: Error opening file System.Runtime.Serialization.dll (3): No such file or directory

03-06 18:11:20.112 D/Mono (22275): Prepared to set up assembly 'System.Runtime.Serialization' (System.Runtime.Serialization.dll)
03-06 18:11:20.112 D/Mono (22275): Assembly System.Runtime.Serialization[0x77c8bcf580] added to domain RootDomain, ref_count=1
03-06 18:11:20.115 D/Mono (22275): AOT: image 'System.Runtime.Serialization.dll.so' not found: dlopen failed: library "System.Runtime.Serialization.dll.so" not found
03-06 18:11:20.116 D/Mono (22275): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Runtime.Serialization.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.Runtime.Serialization.dll.so" not found
03-06 18:11:20.116 D/Mono (22275): Config attempting to parse: 'System.Runtime.Serialization.dll.config'.
03-06 18:11:20.116 D/Mono (22275): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System.Runtime.Serialization/System.Runtime.Serialization.config'.Loaded assembly: System.Runtime.Serialization.dll [External]

03-06 18:11:20.116 D/Mono (22275): Assembly Ref addref Xamarin.Forms.Platform.Android[0x77c544ef00] -> System.Runtime.Serialization[0x77c8bcf580]: 2
03-06 18:11:20.118 D/Mono (22275): Loading reference 1 of System.Runtime.Serialization.dll asmctx DEFAULT, looking for System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.118 D/Mono (22275): Assembly Ref addref System.Runtime.Serialization[0x77c8bcf580] -> System.Xml[0x77b1130380]: 4
03-06 18:11:20.119 D/Mono (22275): Loading reference 0 of System.Runtime.Serialization.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.119 D/Mono (22275): Assembly Ref addref System.Runtime.Serialization[0x77c8bcf580] -> mscorlib[0x77cf090680]: 63
03-06 18:11:20.168 D/Mono (22275): Loading reference 1 of Mono.Security.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b77a5c561934e089mono_pe_file_map: Error opening file System.dll (3): No such file or directory

03-06 18:11:20.171 D/Mono (22275): Unloading image System.dll [0x77af2f2000].
03-06 18:11:20.172 D/Mono (22275): Image addref System[0x77c8bcf200] (asmctx DEFAULT) -> System.dll[0x77c5464800]: 5
03-06 18:11:20.172 D/Mono (22275): Config attempting to parse: 'System.dll.config'.
03-06 18:11:20.172 D/Mono (22275): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System/System.config'.
03-06 18:11:20.172 D/Mono (22275): Assembly Ref addref Mono.Security[0x77b0469500] -> System[0x77c545ea00]: 8
03-06 18:11:20.195 D/Mono (22275): Loading reference 19 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Xamarin.Forms.Platform.Android.dll asmctx DEFAULT, looking for System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.196 D/Mono (22275): Assembly Ref addref Xamarin.Forms.Platform.Android[0x77c544ef00] -> System.Xml[0x77b1130380]: 5
03-06 18:11:20.215 D/Mono (22275): Loading reference 2 of System.Runtime.Serialization.dll asmctx DEFAULT, looking for System.ServiceModel.Internals, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mono_pe_file_map: Error opening file System.ServiceModel.Internals.dll (3): No such file or directory
03-06 18:11:20.220 D/Mono (22275): Image addref System.ServiceModel.Internals[0x77b0540480] (asmctx DEFAULT) -> System.ServiceModel.Internals.dll[0x77ae460000]: 2
03-06 18:11:20.221 D/Mono (22275): Prepared to set up assembly 'System.ServiceModel.Internals' (System.ServiceModel.Internals.dll)
03-06 18:11:20.221 D/Mono (22275): Assembly System.ServiceModel.Internals[0x77b0540480] added to domain RootDomain, ref_count=1
03-06 18:11:20.223 D/Mono (22275): AOT: image 'System.ServiceModel.Internals.dll.so' not found: dlopen failed: library "System.ServiceModel.Internals.dll.so" not found
03-06 18:11:20.224 D/Mono (22275): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.ServiceModel.Internals.dll.so' not found: dlopen failed: library "/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/lib/mono/aot-cache/arm64/System.ServiceModel.Internals.dll.so" not found
03-06 18:11:20.224 D/Mono (22275): Config attempting to parse: 'System.ServiceModel.Internals.dll.config'.Loaded assembly: System.ServiceModel.Internals.dll [External]

03-06 18:11:20.224 D/Mono (22275): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d16-0/xamarin-android/external/mono/sdks/out/android-arm64-v8a-release/etc/mono/assemblies/System.ServiceModel.Internals/System.ServiceModel.Internals.config'.
03-06 18:11:20.224 D/Mono (22275): Assembly Ref addref System.Runtime.Serialization[0x77c8bcf580] -> System.ServiceModel.Internals[0x77b0540480]: 2
03-06 18:11:20.224 D/Mono (22275): Loading reference 0 of System.ServiceModel.Internals.dll asmctx DEFAULT, looking for mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.224 D/Mono (22275): Assembly Ref addref System.ServiceModel.Internals[0x77b0540480] -> mscorlib[0x77cf090680]: 64
03-06 18:11:20.274 D/Mono (22275): Loading reference 2 of System.ServiceModel.Internals.dll asmctx DEFAULT, looking for System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.274 D/Mono (22275): Assembly Ref addref System.ServiceModel.Internals[0x77b0540480] -> System.Xml[0x77b1130380]: 6
03-06 18:11:20.274 D/Mono (22275): Loading reference 3 of System.Runtime.Serialization.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.274 D/Mono (22275): Assembly Ref addref System.Runtime.Serialization[0x77c8bcf580] -> System[0x77c545ea00]: 9
03-06 18:11:20.298 D/Mono (22275): DllImport attempting to load: 'libmono-btls-shared'.
03-06 18:11:20.300 D/Mono (22275): DllImport error loading library './libmono-btls-shared': 'dlopen failed: library "./libmono-btls-shared" not found'.
03-06 18:11:20.307 D/Mono (22275): DllImport loaded library './libmono-btls-shared.so'.
03-06 18:11:20.307 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.307 D/Mono (22275): Searching for 'mono_btls_ssl_ctx_new'.
03-06 18:11:20.307 D/Mono (22275): Probing 'mono_btls_ssl_ctx_new'.
03-06 18:11:20.308 D/Mono (22275): Found as 'mono_btls_ssl_ctx_new'.
03-06 18:11:20.312 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.312 D/Mono (22275): Searching for 'mono_btls_ssl_ctx_initialize'.
03-06 18:11:20.312 D/Mono (22275): Probing 'mono_btls_ssl_ctx_initialize'.
03-06 18:11:20.312 D/Mono (22275): Found as 'mono_btls_ssl_ctx_initialize'.
03-06 18:11:20.326 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.326 D/Mono (22275): Searching for 'mono_btls_x509_store_from_ssl_ctx'.
03-06 18:11:20.326 D/Mono (22275): Probing 'mono_btls_x509_store_from_ssl_ctx'.
03-06 18:11:20.327 D/Mono (22275): Found as 'mono_btls_x509_store_from_ssl_ctx'.
03-06 18:11:20.328 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.328 D/Mono (22275): Searching for 'mono_btls_x509_store_set_default_paths'.
03-06 18:11:20.328 D/Mono (22275): Probing 'mono_btls_x509_store_set_default_paths'.
03-06 18:11:20.328 D/Mono (22275): Found as 'mono_btls_x509_store_set_default_paths'.
03-06 18:11:20.331 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.331 D/Mono (22275): Searching for 'mono_btls_x509_lookup_mono_new'.
03-06 18:11:20.331 D/Mono (22275): Probing 'mono_btls_x509_lookup_mono_new'.
03-06 18:11:20.331 D/Mono (22275): Found as 'mono_btls_x509_lookup_mono_new'.
03-06 18:11:20.331 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.331 D/Mono (22275): Searching for 'mono_btls_x509_lookup_mono_init'.
03-06 18:11:20.331 D/Mono (22275): Probing 'mono_btls_x509_lookup_mono_init'.
03-06 18:11:20.331 D/Mono (22275): Found as 'mono_btls_x509_lookup_mono_init'.
03-06 18:11:20.333 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.333 D/Mono (22275): Searching for 'mono_btls_x509_lookup_new'.
03-06 18:11:20.333 D/Mono (22275): Probing 'mono_btls_x509_lookup_new'.
03-06 18:11:20.333 D/Mono (22275): Found as 'mono_btls_x509_lookup_new'.
03-06 18:11:20.334 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.334 D/Mono (22275): Searching for 'mono_btls_x509_lookup_add_mono'.
03-06 18:11:20.334 D/Mono (22275): Probing 'mono_btls_x509_lookup_add_mono'.
03-06 18:11:20.334 D/Mono (22275): Found as 'mono_btls_x509_lookup_add_mono'.
03-06 18:11:20.336 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.336 D/Mono (22275): Searching for 'mono_btls_ssl_ctx_set_cert_verify_callback'.
03-06 18:11:20.336 D/Mono (22275): Probing 'mono_btls_ssl_ctx_set_cert_verify_callback'.
03-06 18:11:20.336 D/Mono (22275): Found as 'mono_btls_ssl_ctx_set_cert_verify_callback'.
03-06 18:11:20.336 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.337 D/Mono (22275): Searching for 'mono_btls_ssl_ctx_set_cert_select_callback'.
03-06 18:11:20.337 D/Mono (22275): Probing 'mono_btls_ssl_ctx_set_cert_select_callback'.
03-06 18:11:20.337 D/Mono (22275): Found as 'mono_btls_ssl_ctx_set_cert_select_callback'.
03-06 18:11:20.338 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.338 D/Mono (22275): Searching for 'mono_btls_x509_verify_param_lookup'.
03-06 18:11:20.338 D/Mono (22275): Probing 'mono_btls_x509_verify_param_lookup'.
03-06 18:11:20.338 D/Mono (22275): Found as 'mono_btls_x509_verify_param_lookup'.
03-06 18:11:20.340 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.340 D/Mono (22275): Searching for 'mono_btls_x509_verify_param_copy'.
03-06 18:11:20.340 D/Mono (22275): Probing 'mono_btls_x509_verify_param_copy'.
03-06 18:11:20.340 D/Mono (22275): Found as 'mono_btls_x509_verify_param_copy'.
03-06 18:11:20.341 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.341 D/Mono (22275): Searching for 'mono_btls_x509_verify_param_set_host'.
03-06 18:11:20.341 D/Mono (22275): Probing 'mono_btls_x509_verify_param_set_host'.
03-06 18:11:20.341 D/Mono (22275): Found as 'mono_btls_x509_verify_param_set_host'.
03-06 18:11:20.341 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.341 D/Mono (22275): Searching for 'mono_btls_x509_verify_param_can_modify'.
03-06 18:11:20.341 D/Mono (22275): Probing 'mono_btls_x509_verify_param_can_modify'.
03-06 18:11:20.341 D/Mono (22275): Found as 'mono_btls_x509_verify_param_can_modify'.
03-06 18:11:20.344 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.344 D/Mono (22275): Searching for 'mono_btls_x509_verify_param_free'.
03-06 18:11:20.344 D/Mono (22275): Probing 'mono_btls_x509_verify_param_free'.
03-06 18:11:20.344 D/Mono (22275): Found as 'mono_btls_x509_verify_param_free'.
03-06 18:11:20.345 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.345 D/Mono (22275): Searching for 'mono_btls_ssl_ctx_set_verify_param'.
03-06 18:11:20.345 D/Mono (22275): Probing 'mono_btls_ssl_ctx_set_verify_param'.
03-06 18:11:20.345 D/Mono (22275): Found as 'mono_btls_ssl_ctx_set_verify_param'.
03-06 18:11:20.350 D/Mono (22275): Loading reference 1 of System.Xml.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.350 D/Mono (22275): Assembly Ref addref System.Xml[0x77b1130380] -> System[0x77c545ea00]: 10
03-06 18:11:20.350 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.350 D/Mono (22275): Searching for 'mono_btls_ssl_new'.
03-06 18:11:20.350 D/Mono (22275): Probing 'mono_btls_ssl_new'.
03-06 18:11:20.350 D/Mono (22275): Found as 'mono_btls_ssl_new'.
03-06 18:11:20.351 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.351 D/Mono (22275): Searching for 'mono_btls_bio_mono_new'.
03-06 18:11:20.351 D/Mono (22275): Probing 'mono_btls_bio_mono_new'.
03-06 18:11:20.351 D/Mono (22275): Found as 'mono_btls_bio_mono_new'.
03-06 18:11:20.352 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.352 D/Mono (22275): Searching for 'mono_btls_bio_mono_initialize'.
03-06 18:11:20.352 D/Mono (22275): Probing 'mono_btls_bio_mono_initialize'.
03-06 18:11:20.352 D/Mono (22275): Found as 'mono_btls_bio_mono_initialize'.
03-06 18:11:20.355 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.355 D/Mono (22275): Searching for 'mono_btls_ssl_set_bio'.
03-06 18:11:20.355 D/Mono (22275): Probing 'mono_btls_ssl_set_bio'.
03-06 18:11:20.355 D/Mono (22275): Found as 'mono_btls_ssl_set_bio'.
03-06 18:11:20.355 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.355 D/Mono (22275): Searching for 'mono_btls_ssl_set_server_name'.
03-06 18:11:20.355 D/Mono (22275): Probing 'mono_btls_ssl_set_server_name'.
03-06 18:11:20.355 D/Mono (22275): Found as 'mono_btls_ssl_set_server_name'.
03-06 18:11:20.357 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.357 D/Mono (22275): Searching for 'mono_btls_ssl_set_renegotiate_mode'.
03-06 18:11:20.357 D/Mono (22275): Probing 'mono_btls_ssl_set_renegotiate_mode'.
03-06 18:11:20.357 D/Mono (22275): Found as 'mono_btls_ssl_set_renegotiate_mode'.
03-06 18:11:20.358 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.358 D/Mono (22275): Searching for 'mono_btls_error_clear_error'.
03-06 18:11:20.358 D/Mono (22275): Probing 'mono_btls_error_clear_error'.
03-06 18:11:20.358 D/Mono (22275): Found as 'mono_btls_error_clear_error'.
03-06 18:11:20.358 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.358 D/Mono (22275): Searching for 'mono_btls_ssl_connect'.
03-06 18:11:20.358 D/Mono (22275): Probing 'mono_btls_ssl_connect'.
03-06 18:11:20.358 D/Mono (22275): Found as 'mono_btls_ssl_connect'.
03-06 18:11:20.367 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.367 D/Mono (22275): Searching for 'mono_btls_ssl_get_error'.
03-06 18:11:20.367 D/Mono (22275): Probing 'mono_btls_ssl_get_error'.
03-06 18:11:20.367 D/Mono (22275): Found as 'mono_btls_ssl_get_error'.
03-06 18:11:20.439 D/Mono (22275): Loading reference 1 of System.ServiceModel.Internals.dll asmctx DEFAULT, looking for System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:20.439 D/Mono (22275): Assembly Ref addref System.ServiceModel.Internals[0x77b0540480] -> System[0x77c545ea00]: 11
Thread started: #11
03-06 18:11:20.527 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.527 D/Mono (22275): Searching for 'mono_btls_x509_name_hash'.
03-06 18:11:20.527 D/Mono (22275): Probing 'mono_btls_x509_name_hash'.
03-06 18:11:20.527 D/Mono (22275): Found as 'mono_btls_x509_name_hash'.
03-06 18:11:20.527 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.527 D/Mono (22275): Searching for 'mono_btls_x509_name_hash_old'.
03-06 18:11:20.527 D/Mono (22275): Probing 'mono_btls_x509_name_hash_old'.
03-06 18:11:20.527 D/Mono (22275): Found as 'mono_btls_x509_name_hash_old'.
03-06 18:11:20.581 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
03-06 18:11:20.581 D/Mono (22275): Searching for 'java_interop_jnienv_is_assignable_from'.
03-06 18:11:20.581 D/Mono (22275): Probing 'java_interop_jnienv_is_assignable_from'.
03-06 18:11:20.581 D/Mono (22275): Found as 'java_interop_jnienv_is_assignable_from'.
03-06 18:11:20.586 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
03-06 18:11:20.586 D/Mono (22275): Searching for 'java_interop_jnienv_get_byte_array_region'.
03-06 18:11:20.586 D/Mono (22275): Probing 'java_interop_jnienv_get_byte_array_region'.
03-06 18:11:20.586 D/Mono (22275): Found as 'java_interop_jnienv_get_byte_array_region'.
03-06 18:11:20.587 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.587 D/Mono (22275): Searching for 'mono_btls_x509_from_data'.
03-06 18:11:20.587 D/Mono (22275): Probing 'mono_btls_x509_from_data'.
03-06 18:11:20.587 D/Mono (22275): Found as 'mono_btls_x509_from_data'.
03-06 18:11:20.592 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.592 D/Mono (22275): Searching for 'mono_btls_x509_store_ctx_from_ptr'.
03-06 18:11:20.592 D/Mono (22275): Probing 'mono_btls_x509_store_ctx_from_ptr'.
03-06 18:11:20.592 D/Mono (22275): Found as 'mono_btls_x509_store_ctx_from_ptr'.
03-06 18:11:20.596 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.596 D/Mono (22275): Searching for 'mono_btls_x509_store_ctx_up_ref'.
03-06 18:11:20.596 D/Mono (22275): Probing 'mono_btls_x509_store_ctx_up_ref'.
03-06 18:11:20.596 D/Mono (22275): Found as 'mono_btls_x509_store_ctx_up_ref'.
03-06 18:11:20.597 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.597 D/Mono (22275): Searching for 'mono_btls_x509_store_ctx_get_chain'.
03-06 18:11:20.597 D/Mono (22275): Probing 'mono_btls_x509_store_ctx_get_chain'.
03-06 18:11:20.597 D/Mono (22275): Found as 'mono_btls_x509_store_ctx_get_chain'.
03-06 18:11:20.599 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.599 D/Mono (22275): Searching for 'mono_btls_x509_store_ctx_get_untrusted'.
03-06 18:11:20.599 D/Mono (22275): Probing 'mono_btls_x509_store_ctx_get_untrusted'.
03-06 18:11:20.599 D/Mono (22275): Found as 'mono_btls_x509_store_ctx_get_untrusted'.
03-06 18:11:20.600 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.600 D/Mono (22275): Searching for 'mono_btls_x509_chain_get_count'.
03-06 18:11:20.600 D/Mono (22275): Probing 'mono_btls_x509_chain_get_count'.
03-06 18:11:20.600 D/Mono (22275): Found as 'mono_btls_x509_chain_get_count'.
03-06 18:11:20.601 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.601 D/Mono (22275): Searching for 'mono_btls_x509_chain_get_cert'.
03-06 18:11:20.601 D/Mono (22275): Probing 'mono_btls_x509_chain_get_cert'.
03-06 18:11:20.601 D/Mono (22275): Found as 'mono_btls_x509_chain_get_cert'.
03-06 18:11:20.602 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.602 D/Mono (22275): Searching for 'mono_btls_x509_up_ref'.
03-06 18:11:20.602 D/Mono (22275): Probing 'mono_btls_x509_up_ref'.
03-06 18:11:20.602 D/Mono (22275): Found as 'mono_btls_x509_up_ref'.
03-06 18:11:20.605 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.605 D/Mono (22275): Searching for 'mono_btls_x509_free'.
03-06 18:11:20.605 D/Mono (22275): Probing 'mono_btls_x509_free'.
03-06 18:11:20.606 D/Mono (22275): Found as 'mono_btls_x509_free'.
03-06 18:11:20.614 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.614 D/Mono (22275): Searching for 'mono_btls_x509_get_raw_data'.
03-06 18:11:20.614 D/Mono (22275): Probing 'mono_btls_x509_get_raw_data'.
03-06 18:11:20.614 D/Mono (22275): Found as 'mono_btls_x509_get_raw_data'.
03-06 18:11:20.614 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.614 D/Mono (22275): Searching for 'mono_btls_bio_mem_new'.
03-06 18:11:20.614 D/Mono (22275): Probing 'mono_btls_bio_mem_new'.
03-06 18:11:20.614 D/Mono (22275): Found as 'mono_btls_bio_mem_new'.
03-06 18:11:20.615 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.615 D/Mono (22275): Searching for 'mono_btls_bio_mem_get_data'.
03-06 18:11:20.615 D/Mono (22275): Probing 'mono_btls_bio_mem_get_data'.
03-06 18:11:20.615 D/Mono (22275): Found as 'mono_btls_bio_mem_get_data'.
03-06 18:11:20.615 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.615 D/Mono (22275): Searching for 'mono_btls_bio_free'.
03-06 18:11:20.615 D/Mono (22275): Probing 'mono_btls_bio_free'.
03-06 18:11:20.615 D/Mono (22275): Found as 'mono_btls_bio_free'.
03-06 18:11:20.620 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.620 D/Mono (22275): Searching for 'mono_btls_x509_chain_free'.
03-06 18:11:20.620 D/Mono (22275): Probing 'mono_btls_x509_chain_free'.
03-06 18:11:20.620 D/Mono (22275): Found as 'mono_btls_x509_chain_free'.
03-06 18:11:20.620 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.620 D/Mono (22275): Searching for 'mono_btls_x509_store_ctx_free'.
03-06 18:11:20.620 D/Mono (22275): Probing 'mono_btls_x509_store_ctx_free'.
03-06 18:11:20.620 D/Mono (22275): Found as 'mono_btls_x509_store_ctx_free'.
03-06 18:11:20.687 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.687 D/Mono (22275): Searching for 'mono_btls_ssl_handshake'.
03-06 18:11:20.687 D/Mono (22275): Probing 'mono_btls_ssl_handshake'.
03-06 18:11:20.687 D/Mono (22275): Found as 'mono_btls_ssl_handshake'.
03-06 18:11:20.691 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.691 D/Mono (22275): Searching for 'mono_btls_ssl_print_errors_cb'.
03-06 18:11:20.691 D/Mono (22275): Probing 'mono_btls_ssl_print_errors_cb'.
03-06 18:11:20.691 D/Mono (22275): Found as 'mono_btls_ssl_print_errors_cb'.
03-06 18:11:20.700 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.700 D/Mono (22275): Searching for 'mono_btls_ssl_get_peer_certificate'.
03-06 18:11:20.700 D/Mono (22275): Probing 'mono_btls_ssl_get_peer_certificate'.
03-06 18:11:20.700 D/Mono (22275): Found as 'mono_btls_ssl_get_peer_certificate'.
03-06 18:11:20.703 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.703 D/Mono (22275): Searching for 'mono_btls_ssl_get_cipher'.
03-06 18:11:20.703 D/Mono (22275): Probing 'mono_btls_ssl_get_cipher'.
03-06 18:11:20.703 D/Mono (22275): Found as 'mono_btls_ssl_get_cipher'.
03-06 18:11:20.704 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.704 D/Mono (22275): Searching for 'mono_btls_ssl_get_version'.
03-06 18:11:20.704 D/Mono (22275): Probing 'mono_btls_ssl_get_version'.
03-06 18:11:20.704 D/Mono (22275): Found as 'mono_btls_ssl_get_version'.
03-06 18:11:20.705 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.705 D/Mono (22275): Searching for 'mono_btls_ssl_get_server_name'.
03-06 18:11:20.705 D/Mono (22275): Probing 'mono_btls_ssl_get_server_name'.
03-06 18:11:20.705 D/Mono (22275): Found as 'mono_btls_ssl_get_server_name'.
03-06 18:11:20.772 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.772 D/Mono (22275): Searching for 'mono_btls_ssl_write'.
03-06 18:11:20.772 D/Mono (22275): Probing 'mono_btls_ssl_write'.
03-06 18:11:20.772 D/Mono (22275): Found as 'mono_btls_ssl_write'.
03-06 18:11:20.793 D/Mono (22275): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
03-06 18:11:20.793 D/Mono (22275): Searching for 'mono_btls_ssl_read'.
03-06 18:11:20.793 D/Mono (22275): Probing 'mono_btls_ssl_read'.
03-06 18:11:20.793 D/Mono (22275): Found as 'mono_btls_ssl_read'.
03-06 18:11:21.056 D/Mono (22275): Loading reference 5 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Microsoft.Identity.Client.dll asmctx DEFAULT, looking for System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:21.056 D/Mono (22275): Assembly Ref addref Microsoft.Identity.Client[0x77cf141300] -> System.Runtime.Serialization[0x77c8bcf580]: 3
03-06 18:11:21.079 I/Adreno (22275): QUALCOMM build : 3f88ca2, I42f6fe38fb
03-06 18:11:21.079 I/Adreno (22275): Build Date : 07/13/18
03-06 18:11:21.079 I/Adreno (22275): OpenGL ES Shader Compiler Version: EV031.24.00.00
03-06 18:11:21.079 I/Adreno (22275): Local Branch : 50.04
03-06 18:11:21.079 I/Adreno (22275): Remote Branch :
03-06 18:11:21.079 I/Adreno (22275): Remote Branch :
03-06 18:11:21.079 I/Adreno (22275): Reconstruct Branch :
03-06 18:11:21.079 I/Adreno (22275): Build Config : S P 4.0.10 AArch64
03-06 18:11:21.082 E/libc (22275): Access denied finding property "ro.vendor.graphics.memory"
03-06 18:11:21.077 W/RenderThread(22275): type=1400 audit(0.0:827): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=25573 scontext=u:r:untrusted_app:s0:c47,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-06 18:11:21.083 I/Adreno (22275): PFP: 0x016ee170, ME: 0x00000000
03-06 18:11:21.085 I/ConfigStore(22275): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1
03-06 18:11:21.085 I/ConfigStore(22275): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 1
03-06 18:11:21.086 I/OpenGLRenderer(22275): Initialized EGL, version 1.4
03-06 18:11:21.086 D/OpenGLRenderer(22275): Swap behavior 2
03-06 18:11:21.107 W/RenderThread(22275): type=1400 audit(0.0:828): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=25573 scontext=u:r:untrusted_app:s0:c47,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-06 18:11:21.111 E/libc (22275): Access denied finding property "vendor.gralloc.enable_ahardware_buffer"
03-06 18:11:21.141 D/Mono (22275): Loading reference 4 of System.Runtime.Serialization.dll asmctx DEFAULT, looking for System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
03-06 18:11:21.141 D/Mono (22275): Assembly Ref addref System.Runtime.Serialization[0x77c8bcf580] -> System.Core[0x77c545eb80]: 8
Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Resolving authority endpoints... Already resolved? - FALSE
03-06 18:11:21.158 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Resolving authority endpoints... Already resolved? - FALSEInfo (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Is Authority tenantless? - True

03-06 18:11:21.158 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Resolving authority endpoints... Already resolved? - FALSE
03-06 18:11:21.160 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Is Authority tenantless? - True
03-06 18:11:21.160 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Is Authority tenantless? - True
Thread started: #12
03-06 18:11:21.300 W/ActivityThread(22275): handleWindowVisibility: no activity for token android.os.BinderProxy@9922806
03-06 18:11:21.359 D/Mono (22275): Loading reference 8 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Microsoft.Identity.Client.dll asmctx DEFAULT, looking for Xamarin.Android.Support.CustomTabs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e33b67d3bb5581e4
03-06 18:11:21.359 D/Mono (22275): Assembly Ref addref Microsoft.Identity.Client[0x77cf141300] -> Xamarin.Android.Support.CustomTabs[0x77c5438e00]: 2
03-06 18:11:21.359 D/Mono (22275): Loading reference 2 of /storage/emulated/0/Android/data/com.companyname.GotNext.Mobilev2/files/.__override__/Xamarin.Android.Support.CustomTabs.dll asmctx DEFAULT, looking for Java.Interop, Version=0.1.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
03-06 18:11:21.359 D/Mono (22275): Assembly Ref addref Xamarin.Android.Support.CustomTabs[0x77c5438e00] -> Java.Interop[0x77c545e900]: 8
03-06 18:11:21.375 D/Mono (22275): DllImport searching in: '__Internal' ('(null)').
Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Browser with custom tabs package available. Using com.android.chrome. 03-06 18:11:21.375 D/Mono (22275): Searching for 'java_interop_jnienv_get_object_field'.

03-06 18:11:21.375 D/Mono (22275): Probing 'java_interop_jnienv_get_object_field'.
03-06 18:11:21.375 D/Mono (22275): Found as 'java_interop_jnienv_get_object_field'.
03-06 18:11:21.377 I/ (22275): (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Browser with custom tabs package available. Using com.android.chrome.
03-06 18:11:21.377 I/mono-stdout(22275): Info (False) MSAL 3.0.0.0 MSAL.Xamarin.Android 28 [03/06/2019 23:11:21 - e9208ee6-0178-4971-a89b-eea50a9d5aee] Browser with custom tabs package available. Using com.android.chrome.
03-06 18:11:31.051 W/ActivityThread(22275): handleWindowVisibility: no activity for token android.os.BinderProxy@90df73e
Thread finished: #5
The thread 0x5 has exited with code 0 (0x0).

@napoleonjones thanks for the quick response. not ideal that you had to enable Multi-Dex and restart everything (I did not have to do that). Definitely gives us something to think about as far as how we want to handle this.

In regards to the other issue, I wonder if there is a problem w/the android set-up.
Can you make sure you have the following (but with your app specific information where applicable.):
In the AndroidManifest.xml:

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <application android:label="XForms.Android">
        <activity android:name="microsoft.identity.client.BrowserTabActivity">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                                <data android:scheme="msal{client_id}" android:host="auth" />
            </intent-filter>
        </activity>
    </application>

and in MainActivity.cs

        protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
        {
            base.OnActivityResult(requestCode, resultCode, data);
            AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs(requestCode, resultCode, data);
        }

And just double checking you're passing in an Android Activity to the interactive call.
In MainActivity.cs in OnCreate()
App.AndroidActivity = this;

@jennyf19 Thank you, that solved it. I had the following line commented out, probably when I was trying to diagnose on my own.

AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs(requestCode, resultCode, data);

Thank you everyone for your assistance.

@napoleonjones Hurray! thanks for the quick update! Glad you know you got it sorted out.

We still have not decided what we will do w/the original issue

  • Leave MonoAndroid9.0 -> cons: devs have work to do on their end w/new Xamarin forms apps
  • Revert back to MonoAndroid8.1 -> cons: msal loses cool new Xamarin features

The bigger "cons" of leaving MonoAndroid 9 is supportability, because if your app is MonoAndroid8.1, the failure is very cryptic. We should at least provide a better exception.

I am also wary about developers actually wanting to target only 9, because Android API level x (Pie) has not yet gained widespread use.

I'll look into this.

which cool feature do we loose by moving back to 8.1, @jennyf19 ?

Was this page helpful?
0 / 5 - 0 ratings