-
Notifications
You must be signed in to change notification settings - Fork 24
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
iOS: Ambiguous use of 'evaluateJavaScript(_:completionHandler:)' #95
Comments
Found the solution! Add the following to your pubspec.yaml
|
Getting this error now, it builds but freezes on a white screen at launch:
|
Also had to follow the setup instructions listed here to get flutter_downloadplugin to play nicely. https://github.com/fluttercommunity/flutter_downloader |
Nice find! Do you want to send a PR? |
I’d love to! I’m away from home for the day but will try to get it submitted asap. If you don’t hear from me shoot me a reminder tomorrow and I’ll be home and able to put it in! :) |
@Casuallynoted thanks for the report! I don't have access to a mac so ios development will be pr-driven for the foreseeable future. So if you're able to provide one, I'm more than happy to merge it! |
Getting these errors when building for iOS 18 via Xcode coming from flutter_inappwebview
Swift Compiler Error (Xcode): Method does not override any method from its
superclass
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1431:25
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1035:20
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1038:16
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1047:20
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1050:16
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1327:25
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:1912:8
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:2859:22
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:2870:22
Swift Compiler Error (Xcode): Ambiguous use of
'evaluateJavaScript(_:completionHandler:)'
/Users/casuallynoted/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/ios/
Classes/InAppWebView/InAppWebView.swift:2964:17
Encountered error while archiving for device.
The text was updated successfully, but these errors were encountered: