pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.14k stars 1.46k forks source link

Issue with Flutter In AppWebView #277

Open Debsuv opened 4 years ago

Debsuv commented 4 years ago

My Flutter doctor information

[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.14.6 18G103, locale en-IN)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 10.2.1) [✓] Chrome - develop for the web [✓] Android Studio (version 3.5) [✓] VS Code (version 1.41.1) [✓] Connected device (3 available)

/Users/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:206:80: warning: expression implicitly coerced from 'UIView?' to 'Any'
            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/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:207:77: warning: expression implicitly coerced from 'UIView?' to 'Any'
            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/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:210:47: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            let height = NSLayoutConstraint(item: webView, attribute: .height, relatedBy: .equal, toItem: containerWebView, attribute: .height, multiplier: 1, constant: 0)
                                                  ^~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:211:46: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            let width = NSLayoutConstraint(item: webView, attribute: .width, relatedBy: .equal, toItem: containerWebView, attribute: .width, multiplier: 1, constant: 0)
                                                 ^~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:212:55: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            let leftConstraint = NSLayoutConstraint(item: webView, attribute: .leftMargin, relatedBy: .equal, toItem: containerWebView, attribute: .leftMargin, multiplier: 1, constant: 0)
                                                          ^~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:213:56: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            let rightConstraint = NSLayoutConstraint(item: webView, attribute: .rightMargin, relatedBy: .equal, toItem: containerWebView, attribute: .rightMargin, multiplier: 1, constant: 0)
                                                           ^~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:214:56: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            let bottomContraint = NSLayoutConstraint(item: webView, attribute: .bottomMargin, relatedBy: .equal, toItem: containerWebView, attribute: .bottomMargin, multiplier: 1, constant: 0)
                                                           ^~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:217:71: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            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/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppBrowserWebViewController.swift:218:68: warning: expression implicitly coerced from 'InAppWebView?' to 'Any'
            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/769969/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/769969/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/769969/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/769969/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/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:841:27: error: value of type 'WKPreferences' has no member 'isFraudulentWebsiteWarningEnabled'
                configuration.preferences.isFraudulentWebsiteWarningEnabled = (options?.isFraudulentWebsiteWarningEnabled)!
                ~~~~~~~~~~~~~~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:843:80: error: use of unresolved identifier 'WKWebpagePreferences'
                    configuration.defaultWebpagePreferences.preferredContentMode = WKWebpagePreferences.ContentMode(rawValue: (options?.preferredContentMode)!)!
                                                                                   ^~~~~~~~~~~~~~~~~~~~
    /Users/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1136:27: error: value of type 'WKPreferences' has no member 'isFraudulentWebsiteWarningEnabled'
                configuration.preferences.isFraudulentWebsiteWarningEnabled = (options?.isFraudulentWebsiteWarningEnabled)!
                ~~~~~~~~~~~~~~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/769969/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-2.1.0+1/ios/Classes/InAppWebView.swift:1137:76: error: use of unresolved identifier 'WKWebpagePreferences'
                configuration.defaultWebpagePreferences.preferredContentMode = WKWebpagePreferences.ContentMode(rawValue: (options?.preferredContentMode)!)!
                                                                               ^~~~~~~~~~~~~~~~~~~~
    /Users/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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] {
               ~~~~^~~~~~~~~~~~~~~~~~~~
                                                                     != nil
    /Users/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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] {
               ~~~~^~~~~~~~~~~~~~~~~~~~
                                                                     != nil
    /Users/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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/769969/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)
                                                                                                                                                            ^
                                                                                                                                                            (                                  )
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPad Air.
aleksandar-radivojevic commented 4 years ago

Same problem!!