How to share from Amazon app to Flutter app on iOS - Stack Overflow

admin2025-04-17  3

I'd like to open the app I have created in Flutter when someone "shares" an item from the Amazon app on iOS. I have set up the receive-sharing-intent plugin and am able to see my app in the list of options when sharing from Chrome (for example) but not from Amazon.

Is the share type something other than links? That is what I have configured in my Info.plist with NSExtensionActivationSupportsWebURLWithMaxCount set to 1.

I'd like to open the app I have created in Flutter when someone "shares" an item from the Amazon app on iOS. I have set up the receive-sharing-intent plugin and am able to see my app in the list of options when sharing from Chrome (for example) but not from Amazon.

Is the share type something other than links? That is what I have configured in my Info.plist with NSExtensionActivationSupportsWebURLWithMaxCount set to 1.

Share Improve this question asked Jan 31 at 19:59 NickthegoatboyNickthegoatboy 1221 silver badge12 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

After some digging, I found that the Amazon app is sharing "text" type instead of a link since they are trying to include the name of the item and other information. Therefore, I can have my app be an option by including the following in my Info.plist:

<key>NSExtensionActivationSupportsText</key>
<true/>

However, it should be noted that I'll now need to parse what is coming in to find the URL since it is embedded among other items.

转载请注明原文地址:http://anycun.com/QandA/1744848314a88464.html