diff --git a/packages/deriv_web_view/lib/deriv_web_view.dart b/packages/deriv_web_view/lib/deriv_web_view.dart index 0acefd179..2569ceede 100644 --- a/packages/deriv_web_view/lib/deriv_web_view.dart +++ b/packages/deriv_web_view/lib/deriv_web_view.dart @@ -69,7 +69,7 @@ Future openInAppWebViewWithUriHandler({ required List redirectURLs, }) async { try { - _openInAppTabView(url, onClosed); + await _openInAppTabView(url, onClosed); } on PlatformException catch (_) { final AppInAppBrowser browser = AppInAppBrowser( onUrlChanged: (Uri uri) => uriHandler(uri),