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
334 stars 395 forks source link

Receive a sharing intent without opening the app #301

Open maelchiotti opened 5 months ago

maelchiotti commented 5 months ago

Hi, I would like to process the shared data (copy it to the clipboard) without opening the app. Is it possible?

becjit commented 5 months ago

Sorry can you expand this a bit more? You want to use the shared data in the app right? Provide the steps please

maelchiotti commented 5 months ago

When a user shares some data to the app, I want to copy it to the clipboard. That's all I want to do. So I don't need the app to open to do that, because no interaction is required between the app and the user. In fact, it's even distracting because the user needs to go back to the app he was using.

So I would like the callback that is called when data is shared to run in the background, without the app opening in the foreground.