nativescript-camera-plus
nativescript-camera-plus copied to clipboard
PhotoCapturedEvent event does not work on mobile
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); }) }
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.
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.