Openning PDF in iOS
See original GitHub issueI’m trying to open a PDF file that is local to the device on IOS 12. The PDF doesn’t open but rather an action dialog box opens (attached) instead. Can we open the PDF directly ?
Here is the code I’m using:
OpenFile.open(report.path, type: "application/pdf", uti: "com.adobe.pdf");
and pubspec.yaml
open_file: ^3.2.1
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Read PDF documents in Books on iPhone - Apple Support
In the Books app , you can open and save PDFs that you receive in Mail, Messages, and other apps. Open PDFs in...
Read more >4 Ways to Read PDFs on an iPhone - wikiHow
1. Tap a link to open the PDF file. PDF files open natively in the Safari app. Tapping a link to a PDF...
Read more >View PDFs on iPhone or iPad - Ansarada Help & Support
View PDFs on iPhone or iPad · 1. Download the Adobe Acrobat Reader app. · 2. Go to the Left menu. · 3....
Read more >How to Open PDF on iPhone 13 Free
On your iPhone 13/12/11/X/8/76S/6, locate the PDFelement app and tap on it to open. Next, you will have to open the PDF file...
Read more >The Best Ways to View PDF Files on an iPhone
The Mail, Safari and iBooks apps preinstalled on the iPhone all allow you to view PDFs on your iPhone. The iBooks app offers...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh no, we check it on different real IOS devices, this problem is not in simulator.
The (ugly) workaround I found for the old “.file” files still in cache looks like: