Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove logs and fix webview issue. #1181

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Remove logs and fix webview issue. #1181

merged 1 commit into from
Sep 20, 2024

Conversation

jigar-f
Copy link
Contributor

@jigar-f jigar-f commented Sep 20, 2024

No description provided.

@jigar-f jigar-f self-assigned this Sep 20, 2024
@@ -107,7 +107,7 @@ class AppBrowser extends InAppBrowser {
navigationAction) async {
final url = navigationAction.request.url!;
if (url.scheme.startsWith("alipay")) {
await launchUrl(url, mode: LaunchMode.platformDefault);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to add await here, adding await makes an issue. launchUrl will to open that same URl and user will see that web page issue.

Copy link
Contributor

@atavism atavism Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What issue are you experiencing? I just referenced how flutter_inappwebview calls launchUrl in the example

@atavism atavism merged commit 94da2cc into main Sep 20, 2024
2 checks passed
@atavism atavism deleted the jigar/webview-cleanup branch September 20, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants