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

handling PDF/MOBI/EPUB files #56

Open
cpg opened this issue Mar 16, 2018 · 1 comment
Open

handling PDF/MOBI/EPUB files #56

cpg opened this issue Mar 16, 2018 · 1 comment
Assignees

Comments

@cpg
Copy link
Member

cpg commented Mar 16, 2018

files that require opening the file with some other external app, for example, PDF/MOBI/EPUB for digital documents/presentations/books.

i assume some of these mime types could be opened within the app (e.g. PDF with a webview perhaps), but generally, we need to get external apps to get a file that this app (probably) has downloaded and the external app is called.

@cpg
Copy link
Member Author

cpg commented May 13, 2018

wait. reopening. we need proper handling of epub/mobi.

i tried this

        types.updateValue(MimeType.document, forKey: "application/epub+zip")
        types.updateValue(MimeType.document, forKey: "application/x-mobipocket")

and the files download and open (of course) in a webview, but clearly the webview cannot handle them. sharing them works well, as ibook and others can open the epub files, others can open the mobil files.

so we need to handle them properly as sharing.

@cpg cpg reopened this May 13, 2018
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

2 participants