flutter_packages icon indicating copy to clipboard operation
flutter_packages copied to clipboard

feat: add optional linkText and linkUrl to shareToInstagramStory()

Open juandelgado opened this issue 1 year ago • 2 comments

This PR adds support for optional linkText and linkUrl parameters when sharing to Instagram stories.

With these parameters Instagram renders a sticker in the middle of the story with the text and URL provided. I wish I could link to the official documentation but unfortunately I have not been able to find it yet. I'm only following how this was implemented in the React Native Share repository.

I've tested it on iOS but it could do with some testing on Android too.

Hope it helps.

PS: the reason I ended up looking at linkText and linkUrl is because attributionUrl does not seem to have any effect at all.

juandelgado avatar Dec 16 '24 20:12 juandelgado

Can someone merge?

Goodstuff4UonYT avatar Jan 20 '25 08:01 Goodstuff4UonYT

iOS is working. Android not. (no error, just no link)

Goodstuff4UonYT avatar Jan 20 '25 13:01 Goodstuff4UonYT