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

iOS AirDrop Support #224

Open trcrenshaw opened 2 years ago

trcrenshaw commented 2 years ago

Receiving files via air drop doesn't seem to be supported at the moment. Is this something that could be added in the future?

Right now, when receiving a custom file type via airdrop on iOS, I'm given the option to open up the file with the app, however, the file never gets picked up by the app. Does receiving the file through airdrop use a different extension than the share extension?

Phmichau commented 2 years ago

Same problem

JoshJuncker commented 2 years ago

@trcrenshaw @Phmichau I just implemented this in the share_handler plugin version 0.0.5. And yes, it doesn't use the share extension. It hands the file url directly to the app and has to be handled differently. https://github.com/AboutShout/share_handler/tree/main/share_handler

Phmichau commented 2 years ago

I just try it and it s working. thank you man, your save my life, good job

Philippe Michaud *l Le 2 juin 2022 à 11:41 -0600, Josh Juncker @.***>, a écrit :

@trcrenshaw @Phmichau I just implemented this in the share_handler plugin version 0.0.5. And yes, it doesn't use the share extension. It hands the file url directly to the app and has to be handled differently. https://github.com/AboutShout/share_handler/tree/main/share_handler — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>