[ https://issues.apache.org/jira/browse/CB-12778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005027#comment-16005027 ]
Rodinei Fagundes commented on CB-12778: --------------------------------------- Yes > Photo album pictures keep saving with saveToPhotoAlbum: false > ------------------------------------------------------------- > > Key: CB-12778 > URL: https://issues.apache.org/jira/browse/CB-12778 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android 6.0.1 / Moto G4 Play Harpia > Reporter: Rodinei Fagundes > > If getPicture is called right after another getPicture, the image continues > on photo album even with the saveToPhotoAlbum: false. > {code:javascript} > get cameraOptions(): CameraOptions { > return { > allowEdit: false, > destinationType: this.camera.DestinationType.NATIVE_URI, > encodingType: this.camera.EncodingType.JPEG, > quality: 100, > saveToPhotoAlbum: false, > sourceType: this.camera.PictureSourceType.CAMERA, > targetHeight: 800, > targetWidth: 800 > }; > } > public takePicture(): Promise<string> { > return this.camera.getPicture(this.cameraOptions); > } > // From my component > takePicture() { > this.cameraService.takePicture().then(img => { > this.addToGallery(img); > this.takePicture(); > }); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org