A highly-configurable QR code scanner made for Sunbird Mobile app - available for the iOS and Android platforms.
cordova plugin add https://github.com/project-sunbird/cordova-plugin-qr-scanner.git#<branch_name>
To install it locally
cordova plugin add <location_of plugin>/cordova-plugin-qr-scanner
qrScanner.startScanner(screenTitle, displayText, displayTextColor,buttonText, showButton, isRtl, successCallback, errorCallback)
Starts the camera to capture the QRCode and scanned result is sent in the successCallback. Following arguments arepassed to customize the qrScanner
screenTitlerepresents toolbar title.displayTextrepresents subtitle text.displayTextColorrepresents subtitle text color.buttonTextrepresents button text .showButtonrepresents whether to show Skip button or not.isRtlrepresents whether it the qrscanner supports RTL or not.
Stops the scanner