Installing cordova-plugin-qrscanner in OutSystems

Installing cordova-plugin-qrscanner in OutSystems

  

Following this article explaining how to install a custom Cordova (plugin on the OutSystems platform I've tried to install the qrscanner and got the following error:

Failed to install 'cordova-plugin-qrscanner':Error: Uh oh!
ENOENT: no such file or directory, open '/opt/NativeBuilder/builds/5b82b857-b4a9-4266-ac61-4fb769ff0077/source/plugins/cordova-plugin-qrscanner/www/www.min.js'

I've included the full error Log in the attached file.

Any help is welcome.

Marco,


Did you know that we have in forge a plugin can do same?

Barcode plugin


Regards

Hi Marco. If you have problems (as I did) using the plugin that César Mateus suggested, you can also try using the Barcode Scanner plugin - which uses this cordova plugin: https://github.com/phonegap/phonegap-plugin-barcodescanner

César Mateus wrote:

Marco,


Did you know that we have in forge a plugin can do same?

Barcode plugin


Regards


César,


Thank you for the suggestion, however I've already tried that plugin and it requires a internet connection. I was looking for an alternative that can work without a Internet connection.


Additionally I was also trying to experiment with the creation of a custom plugin and was hopping to get it to work.


Best regards.

leonardo.fernandes wrote:

Hi Marco. If you have problems (as I did) using the plugin that César Mateus suggested, you can also try using the Barcode Scanner plugin - which uses this cordova plugin: https://github.com/phonegap/phonegap-plugin-barcodescanner

Leonardo,


I'm going to give it a try. Can you tell me if this puling works in offline mode?


Best regards.

Hello Marco. Yes, it works offline, and I've used it successfully in a project.