From 2812726655271f723f4c1f8980208deee5677847 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 12 Dec 2018 07:10:53 +1300 Subject: [PATCH] Update SwiftFlutterPlugin.swift --- ios/Classes/SwiftFlutterPlugin.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/SwiftFlutterPlugin.swift b/ios/Classes/SwiftFlutterPlugin.swift index 14dd4b0d..30ef86ba 100644 --- a/ios/Classes/SwiftFlutterPlugin.swift +++ b/ios/Classes/SwiftFlutterPlugin.swift @@ -734,7 +734,7 @@ public class SwiftFlutterPlugin: NSObject, FlutterPlugin { } } - func onLoadResource(uuid: String, webView: WKWebView, response: URLResponse, fromRequest request: URLRequest?, withData data: Data, startTime: Int, duration: Int) { + func onLoadResource(uuid: String, webView: WKWebView, response: URLResponse, fromRequest request: URLRequest?, withData data: Data, startTime: Int64, duration: Int64) { if self.webViewControllers[uuid] != nil { var headersResponse = (response as! HTTPURLResponse).allHeaderFields as! [String: String] headersResponse.lowercaseKeys()