Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports for any types of file ? #13

Closed
AlBlanc opened this issue Jul 10, 2019 · 12 comments
Closed

Supports for any types of file ? #13

AlBlanc opened this issue Jul 10, 2019 · 12 comments

Comments

@AlBlanc
Copy link

AlBlanc commented Jul 10, 2019

Hi and thank you for this wonderful library,

I must admit I did not put my hands into this code yet. I have just have a question before continuing.

I would like to be able to receive torrent files (No joke, it is something really official). I am wondering why your library is supporting "only" pictures, text and URLs. Do you think it is just a matter of few hours to extend it for other filetypes or there is a limitation from iOS?

I could help if you tell me this is possible.

@KasemJaffer
Copy link
Owner

KasemJaffer commented Jul 10, 2019

Thanks, I'm planning on supporting videos next. I'm not sure if iOS supports sharing other file types. You are welcome to help though.

@d-silveira
Copy link

d-silveira commented Jul 19, 2019

I'm so glad to hear that @KasemJaffer , I really need that also, at least video
I wondered the same thing @AIBlanc, why not receive anything?

@filipenanclarez
Copy link

Hi,

I'am searching for similar library to enable receive files with 'open' option. Can you extend your librare to this?

My intention is do my app capable to open epub files, to show them.

It's possible?

@remoteportal
Copy link

Yes, I'm trying to figure out how to receive audio files. I'm hoping they are a "subset" of videos.

@bentomikael
Copy link

send pdf files is possible?

@juanjoserodrigolazaro
Copy link

any idea of how to make this?

@Kruschak
Copy link

Kruschak commented Mar 2, 2020

I forked it for my company, because we needed to accept every file-type. Perhaps this could help you (The fork of teamnifty). But the changes i made are to big to fit to the original concept of KasemJaffer so i did not send a pull request.

@AlBlanc
Copy link
Author

AlBlanc commented Mar 2, 2020

Awesome news! Direct link: https://github.com/teamnifty/receive_file_intent (for peoples following the thread)

@Kruschak Can you make a PR ?

@Kruschak
Copy link

Kruschak commented Mar 2, 2020

There is currently no plan for a PR because it throws the concept of KasemJaffer away, where he sends the mimetype of the file into flutter. So you will loose some functionality he achieved.

I think it would be easier to publish it as a new plugin instead. But i'm currently planning neither of these two options.

And first of all should @KasemJaffer decide which way we should go with it.

If you really need only the functionality of sharing each filetype you can use the git-link as plugin repository, but you have to change ShareViewController and the accepted files for android and ios.

@KasemJaffer
Copy link
Owner

KasemJaffer commented Mar 2, 2020

@Kruschak Thanks for the fork to work on this issue. I will look into what you have implemented and try adding it in my plugin.

@realcr
Copy link

realcr commented Mar 7, 2020

@KasemJaffer : I am also very much interested in being able to process any file type.
@Kruschak : Thanks for your contribution, highly appreciated! Are your changes expected to work on ios too?

@KasemJaffer
Copy link
Owner

Version 1.4.0 now supports any types of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants