...To change the orientation, specify the orientation in your AndroidManifest.xml and let the ManifestMerger to update the Activity's definition. The camera permission is required for barcode scanning to function. It is automatically included as part of the library. On Android 6 it is requested at runtime when the barcode scanner is first opened.