openItemBrowser method
Implementation
Future<void> openItemBrowser(String itemUrl) async {
Uri itemUri = Uri.parse(itemUrl);
try {
await launchUrl(
itemUri,
///Opens URL directly in Custom Tabs, ignoring native apps.
prefersDeepLink: false,
customTabsOptions: TBLWebviewUtils.ccTabConfig(),
safariVCOptions: TBLWebviewUtils.safariViewControllerConfig(),
);
} catch (e) {
// An exception is thrown if browser app is not installed on Android device.
TBLLogger.logException(e.toString());
}
}