KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
325 stars 372 forks source link

Support Multiple Intent #236

Open ivanchaukn opened 1 year ago

ivanchaukn commented 1 year ago

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.

bhagat-techind commented 1 year ago

@ivanchaukn You can use my plugin flutter_sharing_intent

ivanchaukn commented 1 year ago

@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

saileshbro commented 1 year ago

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

ivanchaukn commented 1 year ago

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 commented 6 months ago

@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?

KasemJaffer commented 6 months ago

@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.

ivanchaukn commented 5 months ago

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