I’m stressed

Third Party Cordova Plugins

Can someone please help me with a cordova plugin? I need to implement a document scanner as well as a fingerprint scanner. I followed the tutorial on the Toast plugin, but it's not working.

This is the doc scanner I'm trying to implement:

I've added it to my Cordova Plugins and enabled the plugin in my app.

I implemented this on DeviceReady:

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {

And on Click event to activate the scanner I implemented the following:
scan.scanDoc(0, onSuccess, onFail);

function onSuccess(imageURI) {
var image = document.getElementById('myImage');
image.src = imageURI; // For iOS, use image.src = imageURI + '?' + Date.now(); to solve issue 10


function onFail(message) {
alert('Failed because: ' + message);

Nothing happens. Is there somewhere I must do mapping or additional code? Please help!!

I need to do this plugin thing to verify Fingerprint

Any help will be greatly appreciated!
1 person has
this question