BarCodeScanner camera is always portrait by default in landscape mode

I am using Expo 17 and set the app to landscape only in app.json but when I use BarCodeScanner, the camera always begin in portrait mode… how can i set the BarCodeScanner camera to be landscape by default?