Cordova-plugin-camera: photo preview after getPicture()


#1

It there a way to stop photo preview? After taking the photo, an intermediate confirmation step appears. Only after clicking check mark button, I can use the photo.

 private cameraOptions: CameraOptions = {
        quality: 70,
        destinationType: this.camera.DestinationType.FILE_URI,
        encodingType: this.camera.EncodingType.JPEG,
        mediaType: this.camera.MediaType.PICTURE,
        correctOrientation: true,
        saveToPhotoAlbum: false,
        sourceType: this.camera.PictureSourceType.CAMERA
    }

(please ignore photo orientation)

<plugin name="cordova-plugin-camera" spec="^4.0.3" />

Ionic info:
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:\Users\a\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.10

Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-webview 1.2.1, (and 23 other plugins)

System:
Android SDK Tools : 26.1.1 (C:\Users\a\AppData\Local\Android\Sdk)
NodeJS : v8.12.0 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10


#2

I think there’s no way to skip this step.