flutter_pdf_viewer icon indicating copy to clipboard operation
flutter_pdf_viewer copied to clipboard

iOS pdf viewer

Open eugenio-tesio opened this issue 6 years ago • 28 comments

Is there any intention to do the iOS pdf viewer?

eugenio-tesio avatar Jul 30 '18 22:07 eugenio-tesio

If you can buy me a mac, sure!

Anyway, I believe @The-Redhat has solved it in his local testing but he doesn't have the time to integrate it into this plugin right now.

You can follow our discussion here

devxpy avatar Jul 30 '18 22:07 devxpy

Jeje, that's why i hate apple and love Android, you can develop in any platform.

Thanks for the info!

El lun., 30 jul. 2018 a las 19:25, Dev Aggarwal ([email protected]) escribió:

If you can buy me a mac, sure!

Anyway, I believe @The-Redhat https://github.com/The-Redhat has solved it in his local testing but he doesn't have the time to integrate it into this plugin (You can follow our discussion here https://github.com/flutter/flutter/issues/15406#issuecomment-405162195].

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pycampers/flutter_pdf_viewer/issues/2#issuecomment-409031850, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_KXs08FCmsUTOuBVcaEJ69xibcOpY5ks5uL4fLgaJpZM4VnRP7 .

-- Eugenio Tesio Zetus - Soluciones Empresariales División* Sistemas* [email protected] [email protected] [email protected] [email protected] (+549) 3564-15-599945 San Francisco - 2400 Pcia de Córdoba - Arge**ntina

Google MyBusiness http://zetus-soluciones.negocio.site/

eugenio-tesio avatar Jul 31 '18 10:07 eugenio-tesio

Looking forward for iOS Support too. Is there anyone who can help us?

albo1337 avatar Oct 02 '18 13:10 albo1337

@albo1337 I'll try merging the IOS part on my freind's mac. Can you please check if there are night mode, password and horizontal scroll options available on the iOS side?

devxpy avatar Oct 09 '18 08:10 devxpy

@devxpy The problem is that I currently don't have my MacBook with me and I'm for 1 Month out of home... But as far as I know I did not implement the nightmode or the password functionality for iOS

albo1337 avatar Oct 10 '18 17:10 albo1337

Just to let you know: I am using the standard webview in iOS to display pdf.

albo1337 avatar Oct 11 '18 11:10 albo1337

Hi NullPointer, i used this package to display a downloaded pdf, i don't know if is you case https://pub.dartlang.org/packages/open_file

El jue., 11 oct. 2018 a las 8:00, NullPointer ([email protected]) escribió:

Just to let you know: I am using the standard webview in iOS to display pdf.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pycampers/flutter_pdf_viewer/issues/2#issuecomment-428912854, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_KXpSF7G6HwM-OVxhXeHMHWdIUwCfFks5ujyTPgaJpZM4VnRP7 .

-- Eugenio Tesio Zetus - Soluciones Empresariales División* Sistemas* [email protected] [email protected] [email protected] [email protected] (+549) 3564-15-599945 San Francisco - 2400 Pcia de Córdoba - Arge**ntina

Google MyBusiness http://zetus-soluciones.negocio.site/

eugenio-tesio avatar Oct 11 '18 11:10 eugenio-tesio

@eugenio-tesio This plugin is for viewing pdf inside the flutter app itself, not for opening the file in a different app

devxpy avatar Oct 11 '18 11:10 devxpy

@albo1337

standard webview

I don't feel like that's acceptable at all. We already have flutter_webview_plugin for doing webviews.

This plugin is intended to show PDFs inside of a native pdf viewer.

devxpy avatar Oct 11 '18 12:10 devxpy

Well iOS has the possibility to show pdf's in webview without external libraries. Why not showing it in a webview? Android can't so we had to implement a workaround for Android only.

albo1337 avatar Oct 11 '18 12:10 albo1337

Android also has the ability to show webviews without any external library.

(EDIT - you do need to load pdfjs inside the webview, but no, you don't need pdfium android)

My point was -- what's the use of this plugin if all it does is show stuff in a webview?

Webviews are a mediocre experience at best. Try loading very large PDFs and the webview will probably lag really bad.

You also, cannot load a webview from raw bytes without touching the filesystem, something which is important when dealing with sensitive documents. (Correct me if this doesn't apply to iOS)

devxpy avatar Oct 11 '18 12:10 devxpy

Any update on this?

bjbelliveau avatar Oct 26 '18 16:10 bjbelliveau

@albo1337 Are you aware of a solution on iOS that does not display in a web view?

Perhaps this?

devxpy avatar Oct 26 '18 16:10 devxpy

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

albo1337 avatar Oct 28 '18 21:10 albo1337

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

Hi @albo1337 , is there any update on this request? I recently came across this package which says it supports iOS, it also supports appbar. https://pub.dartlang.org/packages/flutter_full_pdf_viewer

l-k22 avatar Dec 03 '18 18:12 l-k22

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

Hi @albo1337 , is there any update on this request? I recently came across this package which says it supports iOS, it also supports appbar. https://pub.dartlang.org/packages/flutter_full_pdf_viewer

This is actually my repository and it supports ios and android pdf viewer. The only part which I did not find time to implement is the iOS webview replacement with the pdf viewer.

albo1337 avatar Dec 04 '18 06:12 albo1337

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

Hi @albo1337 , is there any update on this request? I recently came across this package which says it supports iOS, it also supports appbar. https://pub.dartlang.org/packages/flutter_full_pdf_viewer

This is actually my repository and it supports ios and android pdf viewer. The only part which I did not find time to implement is the iOS webview replacement with the pdf viewer.

Opps, I should have tagged @devxpy not you. Great package, it's what I'm using now just wish it could do horizontal scrolling 👍

l-k22 avatar Dec 04 '18 08:12 l-k22

@l-k22 And I wish apple stopped their monopoly of compilers and just let us do our work 😕

devxpy avatar Dec 04 '18 11:12 devxpy

@devxpy , that would be nice. @albo1337 and devxpy, sorry to go off topic but would either of you know how to implement a search feature? The pdfs within the app are scientific books so the user will want to search for specific keywords.

l-k22 avatar Dec 05 '18 09:12 l-k22

@l-k22 It's impossible for me, because the native PDF viewer lib I used doesn't support it.

@albo1337 Would probably be able to integrate such a feature, because he's using a webview IIRC. Given that apple would allow trivial access to text rendered on webview :)

devxpy avatar Dec 06 '18 07:12 devxpy

Hello, I wondered if you have had any luck progressing with this issue, albo1337 seems to have gone dark. Thanks

l-k22 avatar Jan 15 '19 12:01 l-k22

@I-k22, please make a new issue regarding the text selection feature. Text selection requires a pdf parsing library that has open access to the content being displayed from within dart.

I haven't had any luck finding such a library yet.

devxpy avatar Jan 15 '19 12:01 devxpy

@devxpy I'd like to help with the IOs part. If you could help me getting started with which libraries to use or and which features are important.

I have access to a Mac and I'd like to use this library in one of my projects. If there is anything I could do, I'd be glad to help.

MTschannett avatar Mar 19 '19 14:03 MTschannett

I forgot to update you guys here, but I'm soon getting a Mac myself, courtesy of Jaaga Labs.

We actually just launched a production app that uses this plugin - Meghshla online

You may expect a proof of concept, and even stable ios compat sometime around last week of next month.

devxpy avatar Mar 19 '19 15:03 devxpy

@devxpy that's some good news ^^. Hope you have fun with your Mac ^^

MTschannett avatar Mar 21 '19 21:03 MTschannett

@devxpy How's it going :D

MaskyS avatar Apr 23 '19 08:04 MaskyS

@MaskyS Kinda stuffed with work with the sponsor. The ios pdf is definitely on our roadmap, please give me some time.

devxpy avatar Apr 23 '19 09:04 devxpy

@devxpy I have a mac and I can help if you want.

ammaratef45 avatar May 30 '19 13:05 ammaratef45