iOS - Open File
See original GitHub issueHi,
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:
- Created 5 years ago
- Comments:24 (9 by maintainers)
Top GitHub Comments
@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?
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!