ShoutSocial / share_handler

A plugin to facilitate receiving and handling share intents
43 stars 45 forks source link

Plugin conflicts with app links on Android #86

Open emersion opened 8 months ago

emersion commented 8 months ago

The plugin conflicts with app_links: share_handler handles VIEW intents and prevents app_links from handling them.

VIEW intents are handled here: https://github.com/ShoutSocial/share_handler/blob/43b35aa189f43751d68a0f00aaab03ed42d81339/share_handler_android/android/src/main/kotlin/com/shoutsocial/share_handler/ShareHandlerPlugin.kt#L174

Sh4dord commented 1 month ago

I have the same problem... I use app_link and share_handler, and my deeplinks on Android are catched by both packages while on IOS not

I'll make a pull request to fix the problem and assume that Action.VIEW is for deeplink and Action.SEND/SEND_MULTIPLE/SEND_TO is for sharing, app_link filter these actions also