nativescript-camera-plus icon indicating copy to clipboard operation
nativescript-camera-plus copied to clipboard

PhotoCapturedEvent event does not work on mobile

Open wuilmerj24 opened this issue 5 years ago • 2 comments

When I try to take the photo using the default buttons, the photoCapturedEvent event does not work, but it does open the gallery. But in the android emulator if everything works fine.

var CameraPlus = require("@nstudio/nativescript-camera-plus").CameraPlus; exports.camLoaded=function(args){ camera=args.object; let cam = camera.getViewById("camPlus"); cam.on('photoCapturedEvent', (event) => { fotoGet(event); }) cam.on("imagesSelectedEvent", (event) => { fotoGetGaleria(event); }) }

wuilmerj24 avatar Jan 06 '20 16:01 wuilmerj24

Same here. It used to work -- did something break in a recent update?

EDIT: Never mind. I was on 2.2.0; I've now updated to 3.0.5 and photoCapturedEvent gets called as expected.

msn444 avatar Jan 28 '20 17:01 msn444

I have the same problem, you cannot take photos with the takePicture event, and the event is not detected. I enclose a project where I could isolate the error. https://github.com/vicmasa/testbg Greetings.

vicmasa avatar Feb 13 '20 21:02 vicmasa