Closed wanghuasheng closed 1 year ago
Since ChromeCustomTabs appears to be implemented in various browsers, I would like to proceed in the direction of expanding the target browsers.
Since ChromeCustomTabs appears to be implemented in various browsers, I would like to proceed in the direction of expanding the target browsers.
processing in the direction of expanding the target browsers is good!
You can also jump to webkit.webview when you cant resolveService, without any conflict。
I solved this problem using fireBase, and one line of code is very simple!
I solved this problem using fireBase, and one line of code is very simple!
I also encountered the same problem. How did you solve this problem?
in Android phone ,vivoS12,iaomi mix2,Could not open browser。
if (pm.resolveService(serviceIntent, 0) != null) { packagesSupportingCustomTabs.add(info.activityInfo.packageName); }
cant resolveService
can not open custom tabs
PlatformException(INVALID_AUTHORIZATION, can not open custom tabs., null, null)
I hope to skip to other default browsers or webview ,when there is no Chrome browser available
you can use androidx.webkit:webkit:1.3.0 replace androidx.browser:browser:1.3.0