question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

First of all, great work on the plugin! It really helped me a lot with a Flutter App I’m currently busy with.

I just have a question regarding the iOS implementation: I noticed that in Android, when calling open, it actually opens the .jpeg/.pdf in the relevant app on the device. When calling open on an iOS simulator, it opens a dialog from the bottom giving me the options to “Share” the file via AirDrop, ICloud Photo Sharing and also a “Save to Files” option. Is this standard behaviour?

I would expect it to just open the .jpeg/.pdf in the relevant app, just like in Android?

I haven’t been able to test this on an actual iOS device yet, so it might be a simulator issue. I just wanted to confirm this behaviour. Please let me know if this is how the plugin should work or am I missing something here?

Keep up the great work!

Regards, Daryll Fourie

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
daryll-fouriecommented, Sep 19, 2018

@daniel-mf works like a charm!! Well freaking done man! 😃 I tested it with the following files and it worked (on my device) : pdf, jpg & png. I’m pretty sure other file types will work too as long as the OS can handle it! Whoohooo!!! Thank you so much @daniel-mf !

@crazecoder do you perhaps want to merge his branch into yours?

1reaction
daniel-mfcommented, Sep 18, 2018

I was able to make it work as expected (at least for the few tests I’ve done) Took as example this plugin DocumentsPickerPlugin I have only tested PDF files, working just fine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to open file in iOS? - swift - Stack Overflow
I'm trying to open a .pdf file after download which is downloaded with Alamofire. But I've seen only using a "webview".
Read more >
How to open a file from iOS device from Files App?
In order to open a mpp, Excel or CSV file in Project Plan 365 directly from Files app you first need to navigate...
Read more >
How To Use The iPhone Files App - YouTube
https://macmost.com/e-2651 The Files app on your iPhone or iPad is like the Finder on a Mac. You can use it to find, open,...
Read more >
How to Use the Files App on Your iPhone or iPad | PCMag
If you download a PDF, audio file, or document from Safari, a Downloads folder will appear in the Files app. Tap On My...
Read more >
FAQ for End-Users: FileOpen Viewer App for iPad and iPhone
I have received a FileOpen-protected document. How can I view it on my iPad®/iPhone®? · Do I have to be online to access...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found