Skip to content Skip to sidebar Skip to footer

Lock Camera / Screen Orientation To Landscape With Ionic / NgCordova

I am trying to lock camera orientation to portrait in the app and to landscape in the camera. For camera access I am using $cordovaCapture pluggin. For orientation cordova-plugin-s

Solution 1:

It's a bug! I think someone should change the plugin to add the property of the interface.

var options = { 
    limit: 1, 
    duration: 15,
    orientation: "landscapeLeft"
};

Post a Comment for "Lock Camera / Screen Orientation To Landscape With Ionic / NgCordova"