Skip to content

Commit

Permalink
fix(deriv_web_view): fix platform exception not being caught
Browse files Browse the repository at this point in the history
  • Loading branch information
sahani-deriv committed Feb 27, 2024
1 parent 19fb0e6 commit d9e7b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/deriv_web_view/lib/deriv_web_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Future<void> openInAppWebViewWithUriHandler({
required List<String> redirectURLs,
}) async {
try {
_openInAppTabView(url, onClosed);
await _openInAppTabView(url, onClosed);
} on PlatformException catch (_) {
final AppInAppBrowser browser = AppInAppBrowser(
onUrlChanged: (Uri uri) => uriHandler(uri),
Expand Down

0 comments on commit d9e7b1d

Please sign in to comment.