Skip to content

Commit dd4e3d0

Browse files
authored
Merge pull request #2 from nubank/fixing-xcode-16.2
Fixing error: method does not override any method from its superclass
2 parents 751a104 + 919a27d commit dd4e3d0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

flutter_inappwebview/pubspec.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version: 6.0.0
44
homepage: https://inappwebview.dev/
55
repository: https://github.com/pichillilorenzo/flutter_inappwebview
66
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
7+
publish_to: none
78
topics:
89
- html
910
- webview
@@ -20,7 +21,12 @@ dependencies:
2021
sdk: flutter
2122
flutter_inappwebview_platform_interface: ^1.0.10
2223
flutter_inappwebview_android: ^1.0.12
23-
flutter_inappwebview_ios: ^1.0.13
24+
# flutter_inappwebview_ios: ^1.0.13
25+
flutter_inappwebview_ios:
26+
git:
27+
url: https://github.com/nubank/flutter_inappwebview.git
28+
ref: b0826c4efd2f2248a47679f94f4bbd1fefb57399
29+
path: flutter_inappwebview_ios
2430
flutter_inappwebview_macos: ^1.0.11
2531
flutter_inappwebview_web: ^1.0.8
2632

flutter_inappwebview_ios/ios/Classes/InAppWebView/InAppWebView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate,
14291429
}
14301430
}
14311431

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

0 commit comments

Comments
 (0)