social_share_plugin
social_share_plugin copied to clipboard
Can not share to instagram
Sharing to Instagram does not seem to work at all.
1. No Instagram app installed yet.
Invoke await SocialSharePlugin.shareToFeedInstagram('Hello world!', file.path);
Result (opens Playstore to download the app)
2. With Instagram app installed
Invoke await SocialSharePlugin.shareToFeedInstagram('Hello world!', file.path);
Result (No apps available)
Device information Model: Nexus 6P Android version: 7.1.2
Did I miss something?
you have to run instagram at least one time after installation
Hello @romatroskin ,
Still having issues for share to Instagram.
pubspec.yaml
social_share_plugin:
git:
url: https://github.com/romatroskin/social_share_plugin.git
ref: master
Expected result Should be able to share to Instagram Feed
Actual result It keeps opening the Instagram app page on App Store.
NOTE: I already run instagram and haven't closed it. I even logged in already.
try with updated version please
Unhandled Exception: PlatformException(error, Couldn't find meta-data for provider with authority com.example.testproject.social.share.fileprovider, null)
This exception arises when I try to share to Instagram.
@Nandan-Wewhare did you find a resolution?
No, not yet.
@Nandan-Wewhare https://developers.facebook.com/docs/sharing/android/ I added the gradle details files for Facebook and then flutter clean.