Merge pull request #33 from jonalmeida/fix-android-custom-tabs-32

Always use the default browser's custom tab
This commit is contained in:
Juan
2025-11-23 02:03:38 +01:00
committed by GitHub

View File

@@ -13,6 +13,7 @@ void openUrlCustomTab(String url) async {
shareState: flutter_custom_tabs.CustomTabsShareState.browserDefault, shareState: flutter_custom_tabs.CustomTabsShareState.browserDefault,
urlBarHidingEnabled: true, urlBarHidingEnabled: true,
showTitle: true, showTitle: true,
browser: flutter_custom_tabs.CustomTabsBrowserConfiguration(prefersDefaultBrowser: true),
), ),
safariVCOptions: const flutter_custom_tabs.SafariViewControllerOptions( safariVCOptions: const flutter_custom_tabs.SafariViewControllerOptions(
barCollapsingEnabled: true, barCollapsingEnabled: true,