getPackageNameToUse

fun getPackageNameToUse(context: Context): String?

Goes through all apps that handle VIEW intents and have a warm up service. Picks the one chosen by the user if there is one, otherwise makes a best effort to return a valid package name.

This is not threadsafe.

Return

The package name recommended to use for connecting to custom tabs related components.

Parameters

context

Context to use for accessing PackageManager.