-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
old swift version #4
Comments
Wow it is really strange because I developed it using Swift 4! I will check about that, thanks. |
@Maup1 I released the new 0.2.0 version! Let me know if now it works 😄 |
I tried it but it still did not work. I searched a little further and found this comments: flutter/flutter#13422 (comment) I created my project with "flutter create", in this case, the flutter_inappbrowser does not work because of the default option objc. After creating a project with "flutter create -i swift" it works! I didn't know this exists, sorry for the inconvenience. |
…e_master Twshopping merge master
E/flutter (10050): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'bool' E/flutter (10050): #0 RendererPriorityPolicy.fromMap (package:flutter_inappwebview/src/types.dart:4598:38) E/flutter (10050): pichillilorenzo#1 AndroidInAppWebViewOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/android/in_app_webview_options.dart:422:61) E/flutter (10050): pichillilorenzo#2 InAppWebViewGroupOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/in_app_webview_options.dart:72:38) E/flutter (10050): pichillilorenzo#3 InAppWebViewController.getOptions (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1643:39) E/flutter (10050): <asynchronous suspension> E/flutter (10050): pichillilorenzo#4 _WebViewTabState._buildWebView.<anonymous closure> (package:flutter_browser/webview_tab.dart:158:39) E/flutter (10050): <asynchronous suspension>
When I add the plugin to the pubspec.yaml I get an error: "The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor."
When I open the project in Xcode I get: The target "flutter_inappbrowser" contains source code developed with Swift 2.x. Xcode 9 does not support building or migrating Swift 2.x targets.
Any chance this plugin will be updated to the newest version?
The text was updated successfully, but these errors were encountered: