ShekarMudaliyar / social_share

Flutter package to share images/videos/text on social media
https://pub.dev/packages/social_share
MIT License
112 stars 191 forks source link

When I press icon for to share, don't works. (sharedOptions) #117

Open ivictoruan opened 2 years ago

ivictoruan commented 2 years ago

D/libGLESv2(18597): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.racha_racha [...] D/ViewRootImpl@e920403MainActivity: ViewPostIme pointer 1 E/flutter (18597): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: type 'String' is not a subtype of type 'bool?' in type cast E/flutter (18597): #0 MethodChannel._invokeMethod package:flutter/…/services/platform_channel.dart:167 E/flutter (18597): E/flutter (18597): #1 SocialShare.shareOptions package:social_share/social_share.dart:176 E/flutter (18597):

MissingPluginException('No implementation found for method $method on channel $name'); }

guigzp commented 1 year ago

Same, I kinda fixed in a local fork. I dont understood the purpose of this return so I dont feel confident to submit a PR, if somebody could check would be nice :)

goneall commented 1 year ago

I ran into the same issue.

I just created a PR #128 which works for me.