Barcode scanner in Cordova using Dynamsoft Barcode Reader
An online demo is available here.
The cordova plugin is used for Android and iOS: cordova-plugin-dynamsoft-barcode-reader.
If you encounter the following error when you are building an Android project:
No version of NDK matched the requested version 21.0.6113669. Versions available locally: 21.1.6352462, 22.1.7171670
You can specify the ndkVersion
in platforms\android\app\build.gradle
:
ndkVersion '22.1.7171670'