From 7119054ce63bffdb3bfb77d97aec12307536d795 Mon Sep 17 00:00:00 2001 From: Ryan Willoughby Date: Thu, 25 Oct 2012 11:38:13 -0700 Subject: [PATCH] [readme] corrected supported types for iOS + Fixes #1, thanks @shazron --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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: