diff --git a/README.md b/README.md index 79b722c..545a6c6 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ committed with an updated jar. The plugin creates the object `window.plugins.barcodeScanner` with the method `scan(success, fail)`. The following barcode types are currently supported: +### Android + * QR_CODE * DATA_MATRIX * UPC_E @@ -29,6 +31,17 @@ The following barcode types are currently supported: * PDF417 * RSS_EXPANDED +### iOS + +* QR_CODE +* DATA_MATRIX +* UPC_E +* UPC_A +* EAN_8 +* EAN_13 +* CODE_128 +* CODE_3 + `success` and `fail` are callback functions. Success is passed an object with data, type and cancelled properties. Data is the text representation of the barcode data, type is the type of barcode detected and cancelled is whether or not the user cancelled the scan. A full example could be: