Skip to content

Commit

Permalink
Merge pull request #2 from nubank/fixing-xcode-16.2
Browse files Browse the repository at this point in the history
Fixing error: method does not override any method from its superclass
  • Loading branch information
ahlp authored Jan 29, 2025
2 parents 751a104 + 919a27d commit dd4e3d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion flutter_inappwebview/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version: 6.0.0
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
publish_to: none
topics:
- html
- webview
Expand All @@ -20,7 +21,12 @@ dependencies:
sdk: flutter
flutter_inappwebview_platform_interface: ^1.0.10
flutter_inappwebview_android: ^1.0.12
flutter_inappwebview_ios: ^1.0.13
# flutter_inappwebview_ios: ^1.0.13
flutter_inappwebview_ios:
git:
url: https://github.com/nubank/flutter_inappwebview.git
ref: b0826c4efd2f2248a47679f94f4bbd1fefb57399
path: flutter_inappwebview_ios
flutter_inappwebview_macos: ^1.0.11
flutter_inappwebview_web: ^1.0.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate,
}
}

public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, Error?) -> Void)? = nil) {
open override func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor (Any?, Error?) -> Void)? = nil) {
if let applePayAPIEnabled = settings?.applePayAPIEnabled, applePayAPIEnabled {
if let completionHandler = completionHandler {
completionHandler(nil, nil)
Expand Down

0 comments on commit dd4e3d0

Please sign in to comment.