Lock the camera orientation

Hi
Is there any way to lock camera orientation in an Ionic 3 app?
I could lock the page orientation successfully, but when I open the camera from this page, camera is not locked and orientation changes based on the device orientation.
Thanks