receive_sharing_intent
receive_sharing_intent copied to clipboard
Alternative that is maintained https://pub.dev/packages/share_handler
Much appreciation for this package. It sadly isn't maintained and hasn't seen a release for over a year. I decided to create a new package, heavily influenced from this one. It has the added benefit of an api to add specific conversations in your app as share suggestions/targets (eg. share directly to Billy in my app). Give it a look. Feel free to contribute as well.
https://pub.dev/packages/share_handler
@JoshJuncker, thanks for your job! Unfortunately, it's not worked for me... I have followed all steps in the guidance, but containing app doesn't receive any data
@SergiiMytakii Sorry for the late reply. I didn't get notified of you mention or issue for some reason. Anyways, I've responded to you comments/issue over in the share_handler repository.
Sounds promising, although it looks like I have to change a fair amount to switch to it from this one? Does yours solve the "Cannot open PDF files on iOS" issue?
I am manually modifying the SharedMediaFile path values to remove the leading "file://", but a PDF shared from say the Files app still can't be opened in my app.
@mobikats I successfully share pdf files to my app via the plugin. In my app I then immediately upload the pdf to s3 as my app is cloud based. But it wouldn't be able to upload it to s3 if it couldn't read the file. Try cloning the repo and trying the sample. You could do minimal modification of the sample to handle a shared pdf as you wanted. Anyways, if you decide to go for it and run into issues, definitely create an issue on the share_handler repository and I can look into it.
Thanks @JoshJuncker , I fixed it in the end it turned out to be an issue caused by URL encoding of the path. https://github.com/KasemJaffer/receive_sharing_intent/issues/141#issuecomment-1144746060
@mobikats Great job! I attempted various packages, but couldn't make them function. Share Handler, however, works perfectly! Many thanks for simplifying the majority of the logic within the package.