Method 'Android.Support.CustomTabs.CustomTabsIntent.LaunchUrl' not found.

Hi,

Experiencing exception in Azure B2C Directory login by using MSAL Library on Android platform with the following two libraries when updated to latest version (26.1.0.1)

Xamarin.Android.Support.CustomTabs (version 26.1.0.1)
Xamarin.Android.Support.v4 (version 26.1.0.1)
Please download sample from the following Link:

https://github.com/Azure-Samples/active-directory-b2c-android-native-msal

Exception:

System.MissingMethodException: Method 'Android.Support.CustomTabs.CustomTabsIntent.LaunchUrl' not found.

StackTrace:

MonoDroid( 7659): UNHANDLED EXCEPTION: MonoDroid( 7659): System.MissingMethodException: Method 'Android.Support.CustomTabs.CustomTabsIntent.LaunchUrl' not found. MonoDroid( 7659): at Android.App.Activity.n_OnResume (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] :0 MonoDroid( 7659): at (wrapper dynamic-method) S An unhandled exception occured.

Posts

  • BrunoAKleinBrunoAKlein Member

    Hey,
    the Microsoft.Identity.Client 1.1.1-preview0040 was updated day 05/01/2018
    See: nuget.org/packages/Microsoft.Identity.Client/1.1.1-preview0040 (i can't post links)
    Now works with all libraries in version 25+

Sign In or Register to comment.