nativescript-camera-plus
nativescript-camera-plus copied to clipboard
(iOS) SaveToGallery doesn't work
When executing the code below, the photo is still saved to the gallery.
this.cameraPlus.takePicture({ saveToGallery: false, confirm: true });
@ShawnPavel If you set saveToGallery
on camLoaded()
it won't save.
camLoaded(e: any): void {
this.cam = e.object as CameraPlus;
this.cam.saveToGallery = false;
}
It doesn't work on Android either. I set saveToGallery to false on camLoaded():
camLoaded(e: any): void {
this.cam = e.object as CameraPlus;
this.cam.saveToGallery = false;
this.cam.debug = false;
}
and in html:
<CameraPlus saveToGallery="false" height="auto" debug="false" galleryPickerMode="single" showFlashIcon="false"
showToggleIcon="false" showCaptureIcon="true" confirmPhotos="false" showGalleryIcon="false" (loaded)="camLoaded($event)"
(photoCapturedEvent)="photoCapturedEvent($event)"></CameraPlus>
@ShawnPavel did you figure it out the issue. please share the solution. the same problem exists even in 2019 may
Hi. This works. Are you using nativescript+angular? nativescript+vue? let me know