social_share_plugin icon indicating copy to clipboard operation
social_share_plugin copied to clipboard

Facebook feed share issue in Android

Open EktaNT opened this issue 10 months ago • 0 comments

When attempting to share content on the Android device, the screen briefly flickers for a second, but nothing opens. Despite the presence of code to handle errors, it seems that the designated catch block isn't being triggered. Upon reviewing the logs, it's apparent that the app briefly transitions to an inactive state before quickly resuming. Also in iOS device it is working but only text is not able to share. Caption i added with the image is not display on share dialog. Facebook app id and client token is added in AndroidManifest file and info.plist file

try { await shareToFeedFacebookLink( url: myUrl, quote: message, ); } catch (error) { ScaffoldMessenger.of(context).showSnackBar( SnackBar( backgroundColor: Theme.of(context).primaryColor, content: Text('$error'), ), ); }

EktaNT avatar Apr 18 '24 10:04 EktaNT