You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I got that error... when I try to compile iOS
` 4 warnings generated.
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:27: warning: expression implicitly coerced
from 'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: provide a default value to avoid
this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: force-unwrap the value to avoid
this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: explicitly cast to 'Any' with 'as
Any' to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:96: warning: treating a forced downcast to
'String' as optional will never produce 'nil'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:98: note: use 'as?' to perform a
conditional downcast to 'String'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
?
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:75: note: add parentheses around the cast
to silence this warning
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
( )
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:178: warning: treating a forced downcast to
'String' as optional will never produce 'nil'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:180: note: use 'as?' to perform a
conditional downcast to 'String'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
?
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:153: note: add parentheses around the cast
to silence this warning
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
(
)
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:31:17: warning: result of call to
'parse(options:)' is unused
options.parse(options: initialOptions)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:87:46: warning: conditional downcast from
'String?' to 'String' does nothing
let data = (initialData!["data"] as? String)!
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:88:54: warning: conditional downcast from
'String?' to 'String' does nothing
let mimeType = (initialData!["mimeType"] as? String)!
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:89:54: warning: conditional downcast from
'String?' to 'String' does nothing
let encoding = (initialData!["encoding"] as? String)!
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:90:52: warning: conditional downcast from
'String?' to 'String' does nothing
let baseUrl = (initialData!["baseUrl"] as? String)!
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:252:41: warning: result of call to
'parse(options:)' is unused
inAppWebViewOptions.parse(options: inAppWebViewOptionsMap)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:206:80: warning: coercion of
implicitly unwrappable value of type 'UIView?' to 'Any' does not unwrap optional
containerWebView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
^~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:75:19: note: implicitly unwrapped
property 'containerWebView' declared here
@IBOutlet var containerWebView: UIView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:206:85: note: provide a default value
to avoid this warning
containerWebView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:206:85: note: force-unwrap the value
to avoid this warning
containerWebView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:206:85: note: explicitly cast to
'Any' with 'as Any' to silence this warning
containerWebView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:207:77: warning: coercion of
implicitly unwrappable value of type 'UIView?' to 'Any' does not unwrap optional
containerWebView_TopFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
^~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:75:19: note: implicitly unwrapped
property 'containerWebView' declared here
@IBOutlet var containerWebView: UIView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:207:82: note: provide a default value
to avoid this warning
containerWebView_TopFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:207:82: note: force-unwrap the value
to avoid this warning
containerWebView_TopFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:207:82: note: explicitly cast to
'Any' with 'as Any' to silence this warning
containerWebView_TopFullScreenConstraint = NSLayoutConstraint(item: self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, relatedBy:
NSLayoutConstraint.Relation.equal, toItem: self.view, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~~~~~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:210:47: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
let height = NSLayoutConstraint(item: webView, attribute: .height, relatedBy: .equal, toItem: containerWebView, attribute: .height, multiplier: 1, constant: 0)
^~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:210:47: note: provide a default value
to avoid this warning
let height = NSLayoutConstraint(item: webView, attribute: .height, relatedBy: .equal, toItem: containerWebView, attribute: .height, multiplier: 1, constant: 0)
^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:210:47: note: force-unwrap the value
to avoid this warning
let height = NSLayoutConstraint(item: webView, attribute: .height, relatedBy: .equal, toItem: containerWebView, attribute: .height, multiplier: 1, constant: 0)
^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:210:47: note: explicitly cast to
'Any' with 'as Any' to silence this warning
let height = NSLayoutConstraint(item: webView, attribute: .height, relatedBy: .equal, toItem: containerWebView, attribute: .height, multiplier: 1, constant: 0)
^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:211:46: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
let width = NSLayoutConstraint(item: webView, attribute: .width, relatedBy: .equal, toItem: containerWebView, attribute: .width, multiplier: 1, constant: 0)
^~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:211:46: note: provide a default value
to avoid this warning
let width = NSLayoutConstraint(item: webView, attribute: .width, relatedBy: .equal, toItem: containerWebView, attribute: .width, multiplier: 1, constant: 0)
^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:211:46: note: force-unwrap the value
to avoid this warning
let width = NSLayoutConstraint(item: webView, attribute: .width, relatedBy: .equal, toItem: containerWebView, attribute: .width, multiplier: 1, constant: 0)
^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:211:46: note: explicitly cast to
'Any' with 'as Any' to silence this warning
let width = NSLayoutConstraint(item: webView, attribute: .width, relatedBy: .equal, toItem: containerWebView, attribute: .width, multiplier: 1, constant: 0)
^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:212:55: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
let leftConstraint = NSLayoutConstraint(item: webView, attribute: .leftMargin, relatedBy: .equal, toItem: containerWebView, attribute: .leftMargin, multiplier: 1, constant: 0)
^~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:212:55: note: provide a default value
to avoid this warning
let leftConstraint = NSLayoutConstraint(item: webView, attribute: .leftMargin, relatedBy: .equal, toItem: containerWebView, attribute: .leftMargin, multiplier: 1, constant: 0)
^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:212:55: note: force-unwrap the value
to avoid this warning
let leftConstraint = NSLayoutConstraint(item: webView, attribute: .leftMargin, relatedBy: .equal, toItem: containerWebView, attribute: .leftMargin, multiplier: 1, constant: 0)
^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:212:55: note: explicitly cast to
'Any' with 'as Any' to silence this warning
let leftConstraint = NSLayoutConstraint(item: webView, attribute: .leftMargin, relatedBy: .equal, toItem: containerWebView, attribute: .leftMargin, multiplier: 1, constant: 0)
^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:213:56: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
let rightConstraint = NSLayoutConstraint(item: webView, attribute: .rightMargin, relatedBy: .equal, toItem: containerWebView, attribute: .rightMargin, multiplier: 1, constant: 0)
^~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:213:56: note: provide a default value
to avoid this warning
let rightConstraint = NSLayoutConstraint(item: webView, attribute: .rightMargin, relatedBy: .equal, toItem: containerWebView, attribute: .rightMargin, multiplier: 1, constant: 0)
^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:213:56: note: force-unwrap the value
to avoid this warning
let rightConstraint = NSLayoutConstraint(item: webView, attribute: .rightMargin, relatedBy: .equal, toItem: containerWebView, attribute: .rightMargin, multiplier: 1, constant: 0)
^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:213:56: note: explicitly cast to
'Any' with 'as Any' to silence this warning
let rightConstraint = NSLayoutConstraint(item: webView, attribute: .rightMargin, relatedBy: .equal, toItem: containerWebView, attribute: .rightMargin, multiplier: 1, constant: 0)
^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:214:56: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
let bottomContraint = NSLayoutConstraint(item: webView, attribute: .bottomMargin, relatedBy: .equal, toItem: containerWebView, attribute: .bottomMargin, multiplier: 1, constant:
0)
^~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:214:56: note: provide a default value
to avoid this warning
let bottomContraint = NSLayoutConstraint(item: webView, attribute: .bottomMargin, relatedBy: .equal, toItem: containerWebView, attribute: .bottomMargin, multiplier: 1, constant:
0)
^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:214:56: note: force-unwrap the value
to avoid this warning
let bottomContraint = NSLayoutConstraint(item: webView, attribute: .bottomMargin, relatedBy: .equal, toItem: containerWebView, attribute: .bottomMargin, multiplier: 1, constant:
0)
^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:214:56: note: explicitly cast to
'Any' with 'as Any' to silence this warning
let bottomContraint = NSLayoutConstraint(item: webView, attribute: .bottomMargin, relatedBy: .equal, toItem: containerWebView, attribute: .bottomMargin, multiplier: 1, constant:
0)
^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:217:71: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
webView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
^~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:217:76: note: provide a default value
to avoid this warning
webView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:217:76: note: force-unwrap the value
to avoid this warning
webView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:217:76: note: explicitly cast to
'Any' with 'as Any' to silence this warning
webView_BottomFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.bottom, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.bottom, multiplier: 1, constant: 0)
~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:218:68: warning: coercion of
implicitly unwrappable value of type 'InAppWebView?' to 'Any' does not unwrap optional
webView_TopFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.top, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
^~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:93:9: note: implicitly unwrapped
property 'webView' declared here
var webView: InAppWebView!
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:218:73: note: provide a default value
to avoid this warning
webView_TopFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.top, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:218:73: note: force-unwrap the value
to avoid this warning
webView_TopFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.top, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:218:73: note: explicitly cast to
'Any' with 'as Any' to silence this warning
webView_TopFullScreenConstraint = NSLayoutConstraint(item: self.webView, attribute: NSLayoutConstraint.Attribute.top, relatedBy: NSLayoutConstraint.Relation.equal, toItem:
self.containerWebView, attribute: NSLayoutConstraint.Attribute.top, multiplier: 1, constant: 0)
~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:402:32: warning: result of call to
'parse(options:)' is unused
newInAppWebViewOptions.parse(options: newOptionsMap)
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1424:27: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1424:53: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1424:53: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1424:53: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1493:27: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1493:53: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1493:53: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1493:53: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1528:27: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1528:53: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1528:53: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1528:53: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1614:23: warning: expression implicitly coerced from
'CFString?' to 'Any'
print(SecCopyErrorMessageString(securityError,nil))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1614:23: note: provide a default value to avoid this
warning
print(SecCopyErrorMessageString(securityError,nil))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1614:23: note: force-unwrap the value to avoid this
warning
print(SecCopyErrorMessageString(securityError,nil))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1614:23: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print(SecCopyErrorMessageString(securityError,nil))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1645:23: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1645:49: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1645:49: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1645:49: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1703:23: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1703:49: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1703:49: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1703:49: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1775:23: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1775:49: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1775:49: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1775:49: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:2076:27: warning: expression implicitly coerced from
'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:2076:53: note: provide a default value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:2076:53: note: force-unwrap the value to avoid this
warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:2076:53: note: explicitly cast to 'Any' with 'as Any'
to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:61:13: warning: result of 'MyCookieManager'
initializer is unused
MyCookieManager(registrar: registrar)
^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:66:9: warning: result of 'CredentialDatabase'
initializer is unused
CredentialDatabase(registrar: registrar)
^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:229:45: warning: result of call to
'parse(options:)' is unused
inAppBrowserOptions.parse(options: inAppBrowserOptionsMap)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:379:31: warning: result of call to
'parse(options:)' is unused
safariOptions.parse(options: options)
^ ~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:417:32: warning: result of call to
'parse(options:)' is unused
browserOptions.parse(options: optionsFallback!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:420:32: warning: result of call to
'parse(options:)' is unused
webViewOptions.parse(options: optionsFallback!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:425:28: warning: result of call to
'parse(options:)' is unused
browserOptions.parse(options: options)
^ ~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:428:28: warning: result of call to
'parse(options:)' is unused
webViewOptions.parse(options: options)
^ ~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:434:94: warning: forced cast from
'InAppBrowserWebViewController??' to 'InAppBrowserWebViewController' only unwraps optionals; did you mean to use '!!'?
let webViewController: InAppBrowserWebViewController = self.webViewControllers[uuid] as! InAppBrowserWebViewController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:493:24: warning: result of call to
'parse(options:)' is unused
browserOptions.parse(options: options)
^ ~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:496:24: warning: result of call to
'parse(options:)' is unused
webViewOptions.parse(options: options)
^ ~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:501:94: warning: forced cast from
'InAppBrowserWebViewController??' to 'InAppBrowserWebViewController' only unwraps optionals; did you mean to use '!!'?
let webViewController: InAppBrowserWebViewController = self.webViewControllers[uuid] as! InAppBrowserWebViewController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:468:13: warning: variable 'uuid' was never
mutated; consider changing to 'let' constant
var uuid = uuid
~~~ ^
let
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/SwiftFlutterPlugin.swift:696:16: warning: value 'webViewController' was
defined but never used; consider replacing with boolean test
if let webViewController = self.webViewControllers[uuid] {
`
The text was updated successfully, but these errors were encountered:
This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.
Environment
Hello, I got that error... when I try to compile iOS
` 4 warnings generated.
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:27: warning: expression implicitly coerced
from 'String?' to 'Any'
print((result as! FlutterError).message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: provide a default value to avoid
this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
?? <#default value#>
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: force-unwrap the value to avoid
this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
!
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:22:53: note: explicitly cast to 'Any' with 'as
Any' to silence this warning
print((result as! FlutterError).message)
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
as Any
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:96: warning: treating a forced downcast to
'String' as optional will never produce 'nil'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:98: note: use 'as?' to perform a
conditional downcast to 'String'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
?
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:75: note: add parentheses around the cast
to silence this warning
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
( )
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:178: warning: treating a forced downcast to
'String' as optional will never produce 'nil'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:180: note: use 'as?' to perform a
conditional downcast to 'String'
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
?
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/CustomeSchemeHandler.swift:29:153: note: add parentheses around the cast
to silence this warning
let urlResponse = URLResponse(url: url, mimeType: json["content-type"] as! String, expectedContentLength: -1, textEncodingName: json["content-encoding"] as!
String)
^
(
)
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:31:17: warning: result of call to
'parse(options:)' is unused
options.parse(options: initialOptions)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/uogforceone/documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/FlutterWebViewController.swift:87:46: warning: conditional downcast from
'String?' to 'String' does nothing
let data = (initialData!["data"] as? String)!
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
`
The text was updated successfully, but these errors were encountered: