Problems with Cordova Plugin Camera

We use in our app the Cordova Plugin Camera: cordova-plugin-camera
When started the app correctly asked for the permission to use camera, but after we don’t receive any feedback nor error.
Is there anything special to set up to make this plugin work?

Thanks

Marco

@marco.ottolini, we don’t have the expertise with Cordova, so unfortunately we can’t answer your question. There is a community driven Poynt cordova plugin https://github.com/poynt/cordova-plugin-poynt/tree/develop which exposes access to a few poynt apis on the device, but not camera.

Maybe other developers on this forum who build cordova based apps can answer your question.

Thank you @dennis, I had a look at the plugin you mentioned and also to the documentation for the second screen (https://poynt.github.io/developer/onterminal/working-with-second-screen.html), which doesn’t mention anything about taking pictures but only reading bar/qr codes.
So, my question could become, is there any code that show how to use the Poynt front and rear camera, given the fact that “standard” calls (like those used by the cordova plugin) don’t seem to be supported?

Thanks

Marco

@marco.ottolini, I am not sure why the Cordova plugin you are using does not work, but standard Android camera API do work, we have a working sample in https://github.com/poynt/PoyntSamples/blob/master/codesamples/src/main/java/co/poynt/samples/codesamples/CameraActivity.java. Maybe someone can update https://github.com/poynt/cordova-plugin-poynt/tree/develop to build a wrapper around that sample.