[File Viewer Plugin] [File Viewer Plugin] - iOS Cordova bugfixes

Forge Component
Published on 2018-08-22 by Experts
4 votes
Published on 2018-08-22 by Experts


I was having issues with this plugin on iOS devices (ios 10) when opening files from URL.

Device did not scale the view after orientation change and it did not allow pinch zoom gestures on any content. Internally this (cordova) plugin uses ios webView, which has two lines missing from setup.

I fixed these & did a pull request (https://github.com/OutSystemsExperts/File-Viewer-Plugin/pull/2).

I'm able to run patched version myself (instructions here: https://www.outsystems.com/forums/discussion/22505/how-to-add-entries-to-plist-file-for-ios/#Post116404), but it sure would be cool to see someone with suitable superpowers to accept this PR.




I'm not totally sure if cordova plugin's config.xml will need extra line considering viewportscale in addition to that pull request (available on my fork).