openItemBrowser method

Future<void> openItemBrowser(
  1. String url
)

Implementation

Future<void> openItemBrowser(String url) async {
  try {
    final itemUri = Uri.parse(url);
    await launchUrl(
      itemUri,
      prefersDeepLink: false,
      customTabsOptions: TBLWebviewUtils.ccTabConfig(),
      safariVCOptions: TBLWebviewUtils.safariViewControllerConfig(),
    );
  } catch (e) {
    TBLLogger.logException('Failed to open browser: $e');
  }
}