receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

Support Multiple Intent

Open ivanchaukn opened this issue 1 year ago • 7 comments

Hi, can we add support for multiple sharing intents? I know there's another plugin receive_multi_sharing_intent but it doesn't look like it's been fully completed and I'm getting errors when I run it.

ivanchaukn avatar Dec 11 '22 23:12 ivanchaukn

@ivanchaukn You can use my plugin flutter_sharing_intent

bhagat-techind avatar Dec 21 '22 12:12 bhagat-techind

@ivanchaukn You can use my plugin flutter_sharing_intent

It doesn't look like your plugin will be able to support multiple intent. You can take a look how https://pub.dev/packages/receive_multi_sharing_intent is implemented on a high-level and add that to your plugin

ivanchaukn avatar Dec 22 '22 04:12 ivanchaukn

@ivanchaukn you can have a look here https://saileshdahal.com.np/sharing-media-from-external-to-flutter-app

saileshbro avatar Feb 15 '23 05:02 saileshbro

I'm not sure whether that's achieving the same result that I want here. I want something similar to LinkedIn on Android where I can share to different part of the app (eg. Private Message, Share post, etc) WhatsApp Image 2023-04-13 at 10 13 50 PM

ivanchaukn avatar Apr 14 '23 02:04 ivanchaukn

@KasemJaffer Welcome back Kasem! Love this package and would love to extend the functionality. Do you think the android multiple sharing intent implementation can be added to the roadmap?

ivanchaukn avatar Feb 14 '24 02:02 ivanchaukn

@KasemJaffer Welcome back Kasem! Love this package and would love to extend the functionality. Do you think the android multiple sharing intent implementation can be added to the roadmap?

Thanks. I’m not sure how to approach this feature because it requires the app to have multiple activities for each custom action. Which is not ideal for a Flutter app with a single main activity. Let me know if anyone has any ideas on how to add this feature in the plugin.

KasemJaffer avatar Feb 14 '24 04:02 KasemJaffer

@KasemJaffer It looks like someone has already created a PR. #238

ivanchaukn avatar Mar 12 '24 04:03 ivanchaukn