Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone go through the package flutter_sharing_intent? It doesn't work on iOS

Just went through the details of flutter_sharing_intent and all fine on Android, but not working on iOS. Any clues?

Already followed the steps in setting up the environment in XCode but no luck. The main application couldn't be launched with anything shared via ActionSheet menu on iOS.

like image 722
Tim Chan Avatar asked Oct 15 '25 02:10

Tim Chan


1 Answers

Seems like some typos on the package's site:

enter image description here

Erase this two lines:

<key>AppGroupId</key>
<string>$(CUSTOM_GROUP_ID)</string>

in ios/Runner/info.plist

Also the url scheme is different (ShareMedia- vs SharingMedia-) from what is shown in the code:

enter image description here

enter image description here

So change ShareMedia- to SharingMedia- in ios/Runner/info.plist

Hope it may help!

like image 187
user1446472 Avatar answered Oct 17 '25 17:10

user1446472



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!