Skip to content

bug-fix: update evaluateJavaScript method signature to use @MainActor… #2574

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mehmetakdumn604
Copy link

Title
Fix evaluateJavaScript override error for Xcode 16

Description
This PR fixes the override issue for evaluateJavaScript in iOS and macOS InAppWebView classes when building with Xcode 16. The change updates the function signature to align with the latest Swift updates.
Testing and Review Notes
To test this fix:

Build a Flutter project using flutter_inappwebview with Xcode 16.

Ensure that no override error appears for evaluateJavaScript.

Verify that JavaScript execution still functions correctly in InAppWebView.

To Do

  • Verify that the issue is resolved with this change

  • Ensure compatibility with previous Xcode versions

  • Add testing notes in PR description

  • Request review from maintainers

…for completionHandler in iOS and macOS InAppWebView classes
@probot-autolabeler probot-autolabeler bot added iOS macOS macOS platform labels Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS macOS macOS platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant