social_share icon indicating copy to clipboard operation
social_share copied to clipboard

The plugin doesn't work on Android

Open vovaklh opened this issue 2 years ago • 6 comments

Hi! I did setup for Android by using tutorial from README. It doesn't work. the method "shareInstagramStory" always return error. On IOS everything works well.

vovaklh avatar Jan 19 '23 10:01 vovaklh

i'm resolve your issue with:

SocialShare.shareMetaStory( appId: FacebookAppID, platform: 'shareInstagramStory', imagePath: filePath, )

ALexDangCoder avatar Aug 09 '23 00:08 ALexDangCoder

I think I've identified the issue, @ShekarMudaliyar. When I attempt to share a story without an image background on Android, it doesn't work (for example, using only #000000 as backgroundTopColor and backgroundBottomColor). However, as soon as I add a valid backgroundResourcePath, it works.

evanca avatar Aug 22 '23 12:08 evanca

Did someone resolve this issue? It doesn't work in Android but well in IOS. Why Android have a issue? When I called checkInstalledAppsForShare(), my phone already installed instagram and facebook, but the result is false. Also, when I used shareInstagramStory, It doesn't work.. Please anyone help. Thanks.

sonny-SW-Developer avatar Nov 15 '23 09:11 sonny-SW-Developer

Did someone resolve this issue? It doesn't work in Android but well in IOS. Why Android have a issue? When I called checkInstalledAppsForShare(), my phone already installed instagram and facebook, but the result is false. Also, when I used shareInstagramStory, It doesn't work.. Please anyone help. Thanks.

I have this issue too, can you solve?

CarlosMedina10 avatar Dec 23 '23 01:12 CarlosMedina10

...

work for me!

Regards

DeveloperMuvu avatar Jan 03 '24 18:01 DeveloperMuvu

<manifest> <application>...</application> <queries> <package android:name="com.instagram.android" /> <package android:name="com.whatsapp" /> </queries> </manifest>

here! solution!

DeveloperMuvu avatar Jan 03 '24 18:01 DeveloperMuvu