You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
We used Xamarin.Auth nuget for SSO authentication in our enterprise app. For some of the Android devices (as reported by different Galaxy phone users), we are getting the above crash issue and user cannot proceed further to login and use the app.
In Appcenter Crash issue stacktrace, it was found that "CANARY_PACKAGE" is missing in a dictionary defined in PackageManagerHelper.cs file, which is part of Xamarin.Auth repository.
Crash:
System.Collections.Generic.KeyNotFoundException: The given key 'CANARY_PACKAGE' was not present in the dictionary.
StackTrace
Dictionary`2[TKey,TValue].get_Item (TKey key)
PackageManagerHelper.GetPackageNamesToUseImplementation (Android.Content.Context context, System.String url)
CustomTabsConfiguration.Initialize (Android.App.Activity a)
WebAuthenticatorNativeBrowserActivity.OnCreate (Android.OS.Bundle savedInstanceState)
Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState)
(wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.7(intptr,intptr,intptr)
Description
We used Xamarin.Auth nuget for SSO authentication in our enterprise app. For some of the Android devices (as reported by different Galaxy phone users), we are getting the above crash issue and user cannot proceed further to login and use the app.
In Appcenter Crash issue stacktrace, it was found that "CANARY_PACKAGE" is missing in a dictionary defined in PackageManagerHelper.cs file, which is part of Xamarin.Auth repository.
https://github.com/xamarin/Xamarin.Auth/blob/master/source/Core/Xamarin.Auth.XamarinAndroid/UINativeNonIntegratedBrowsers/CustomTabsUtilities/PackageManagerHelper.cs
Impact
Users are not able to proceed further and use the app as they are not logging in and also resulting in lesser ratings in Google playstore.
Is there any fix that is planned for the future upgrades of this NuGet?
Version
Expected behaviour
App should redirect the login flow to an SSO Webpage and display the login screeen.
Actual behaviour
App is crashing instead of redirecting to SSO web page
The text was updated successfully, but these errors were encountered: