flutter_share_me icon indicating copy to clipboard operation
flutter_share_me copied to clipboard

ios crash

Open binSaed opened this issue 3 years ago • 0 comments

flutter_share_me was compiled with optimization - stepping may behave oddly; variables may not be available. Unable to load moduleUnable to load module 'FBSDKCoreKit ''FBAEMKit. '. Unable to load module 'FBSDKShareKit'. Unable to load module 'FBSDKLoginKit'. Unable to load module 'FBAEMKit'. Unable to load module 'FBSDKCoreKit'. Unable to load module 'FBSDKLoginKit'. Unable to load module 'FBSDKShareKit'.

  • thread #1, queue = 'com.apple.main-thread', stop reason = Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value frame #1: 0x00000001075a4148 flutter_share_me`specialized SwiftFlutterShareMePlugin.sharefacebook(message=Swift.Dictionary<Swift.String, Any> @ scalar, self=0x0000000280a28500) at SwiftFlutterShareMePlugin.swift:192:78 [opt] 189 let viewController = UIApplication.shared.delegate?.window??.rootViewController 190 //let shareDialog = ShareDialog() 191 let shareContent = ShareLinkContent() -> 192 shareContent.contentURL = URL.init(string: message["url"] as! String)! ^ 193 shareContent.quote = message["msg"] as? String 194
    195 let shareDialog = ShareDialog(viewController: viewController, content: shareContent, delegate: self) Target 0: (Runner) stopped.

binSaed avatar Sep 12 '22 14:09 binSaed