Open truonguit2010 opened 4 years ago
I do also facing the same problem with shareToFeedFacebook() method.... here's my code:
await SocialSharePlugin.shareToFeedFacebook(
path: file.path,
onSuccess: (x) async {
print(x);
print('FACEBOOK SUCCESS');
return;
},
onCancel: () {
print('FACEBOOK CANCELLED');
return;
},
onError: (error) {
print('FACEBOOK ERROR $error');
return;
});
nothing is printed..
Hi, Step 1: I just checked your facebook share link function and it don't call callback onSuccess function. Step 2: I add
registrar.addActivityResultListener(plugin);
in registerWith function, and it work OK now. [](url)
Is it right?