sarriaroman / photoviewer

PhotoViewer Cordova Plugin
MIT License
155 stars 202 forks source link

Lock device orientation #190

Open mgoetz85 opened 4 years ago

mgoetz85 commented 4 years ago

My app only supports portrait mode, however when displaying an image with this plugin, I can rotate the device to landscape. Is it possible to lock the layout?

Thanks

sarriaroman commented 4 years ago

How are you building? Because It can be blocked from native side, on xcode or with the AndroidManifest.

mgoetz85 commented 4 years ago

I am using PhoneGap Build