URL: bitpay/cordova-plugin-qrscanner#132
Add QR Scanner to support EAN-13, CODE-128, CODE-39.
Tested with: cordova-android: 8.1.0, cordova-ios: 5.1.1
-
Place all files under "hooks/qrscanner_add_barcode/".
-
Add below in "config.xml":
<platform name="android">
<hook src="hooks/qrscanner_add_barcode/301_android.js" type="after_prepare" ></hook>
</platform>
<platform name="ios">
<hook src="hooks/qrscanner_add_barcode/301_ios.js" type="after_prepare" ></hook>
</platform>
<preference name="UseSwiftLanguageVersion" value="5" ></preference>
- add methods to change camera bounds on iOS.