Ionic Camera and Amazon Fire HD 10

Hello.

I have an Ionic/Cordova app that uses the front facing camera.

The app uses https://github.com/apache/cordova-plugin-camera

The app works very well on all android devices.

I have uploaded the APK into Amazon Store and noticed that on the latest Fire HD 10 (7th Generation), the app always try to take pictures using the back camera, and I have to always manually switch to the front camera.

The camera options used is


 const options: CameraOptions = {
            destinationType: this.camera.DestinationType.DATA_URL,
            targetWidth: AppConstant.PHOTO_PREVIEW_WIDTH,
            targetHeight: AppConstant.PHOTO_PREVIEW_HEIGHT,
            allowEdit: false,
            correctOrientation: true,
            quality: AppConstant.PHOTO_QUALITY,
            mediaType: this.camera.MediaType.PICTURE,
            encodingType: this.camera.EncodingType.JPEG,
            saveToPhotoAlbum: false,
            cameraDirection: this.camera.Direction.FRONT 
        }

Note that all works well in normal Android devices i.e. front camera is used.

For the Fire HD 10 tablet, I need to switch to the front camera every time which is annoying.

It would be great if FireOS could behave like others and just use the front camera by default