Does MSAL library prefetch the pages in chrome custom tabs? #1820
Replies: 1 comment
-
@slakshmanan-isn Unfortunately, the library code does not support mayLaunchUrl() as of today. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Chrome custom tabs, the recommendation is to use
warmup()
andmayLaunchUrl()
to speed up the browser start-up so that the page loads fast.Ref: https://developer.chrome.com/docs/android/custom-tabs/guide-warmup-prefetch/
I see that the MSAL library uses
warmup()
. Is there a way to hookmayLaunchUrl()
as well? i.e., let the client app provide/configures the URL and the custom tab implementation in the MSAL library uses it to pre-fetch the pages.microsoft-authentication-library-for-android/msal/src/main/java/com/microsoft/identity/client/MsalChromeCustomTabManager.java
Line 184 in af12874
Beta Was this translation helpful? Give feedback.
All reactions