-
Notifications
You must be signed in to change notification settings - Fork 166
Description
Hello,
The app does not compile: here's the trace:
Xcode's output:
↳
leveldb-library-byfjndjolxototdyoiotufacpcvp
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:189:25: error: 'init()' is unavailable
let shareDialog=ShareDialog()
^~~~~~~~~~~
FBSDKShareKit.ShareDialog:4:12: note: 'init()' has been explicitly marked unavailable here
public init()
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:194:20: error: incorrect argument label in call (have 'fromViewController:content:delegate:', expected 'viewController:content:delegate:')
ShareDialog(fromViewController: viewController, content: shareContent, delegate: self).show()
^~~~~~~~~~~~~~~~~~~
viewController
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:189:25: error: 'init()' is unavailable
let shareDialog=ShareDialog()
^~~~~~~~~~~
FBSDKShareKit.ShareDialog:4:12: note: 'init()' has been explicitly marked unavailable here
public init()
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:194:20: error: incorrect argument label in call (have 'fromViewController:content:delegate:', expected 'viewController:content:delegate:')
ShareDialog(fromViewController: viewController, content: shareContent, delegate: self).show()
^~~~~~~~~~~~~~~~~~~
viewController
Thanks for your help.