From d9e7b1d94d268e601d0aa024c541f9693071afef Mon Sep 17 00:00:00 2001 From: sahani-deriv Date: Tue, 27 Feb 2024 14:34:36 +0800 Subject: [PATCH] fix(deriv_web_view): fix platform exception not being caught --- packages/deriv_web_view/lib/deriv_web_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),