From d3bdad56e48bd36df74d0913c9d2ed9fb9026fad Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Tue, 13 Jan 2026 20:14:57 +0100 Subject: [PATCH] Update docs --- docs/CARD_FIELDS.md | 2 +- docs/EXPORT_FORMAT.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/CARD_FIELDS.md b/docs/CARD_FIELDS.md index 47548d91e..bc4766c29 100644 --- a/docs/CARD_FIELDS.md +++ b/docs/CARD_FIELDS.md @@ -15,7 +15,7 @@ An [export](./EXPORT_FORMAT.md) always contains all values. A [card sharing URL] | cardid | Required | Any string | The loyalty card ID | | barcodeid | Optional | Any string | The value of the loyalty card barcode, if different from the loyalty card ID | | barcodetype | Optional | AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E | The type of loyalty card barcode used | -| barcodeencoding | Optional | Either `null` (automatic detection using zxing's `guessEncoding` function) or any [StandardCharset](https://developer.android.com/reference/java/nio/charset/StandardCharsets)'s `.name()` output. Only `ISO-8859-1` and `UTF-8` are user selectable | The encoding used to render the loyalty card barcode | +| barcodeencoding | Optional | Any [StandardCharset](https://developer.android.com/reference/java/nio/charset/StandardCharsets)'s `.name()` output. Only `ISO-8859-1` and `UTF-8` are user selectable | The encoding used to render the loyalty card barcode | | headercolor | Optional | A valid Android color value (https://developer.android.com/reference/android/graphics/Color) | The color to use in the header and card background | | starstatus | Ignored | 0,1 | If the card is "starred" | | lastused | Ignored | Any UNIX timestamp | When the loyalty card was last opened | diff --git a/docs/EXPORT_FORMAT.md b/docs/EXPORT_FORMAT.md index 719664b64..8f15252fb 100644 --- a/docs/EXPORT_FORMAT.md +++ b/docs/EXPORT_FORMAT.md @@ -37,10 +37,10 @@ Food Fashion _id,store,note,validfrom,expiry,balance,balancetype,cardid,barcodeid,barcodetype,barcodeencoding,headercolor,starstatus,lastused,archive -1,Clothing Store,Note about store,,,0,,qw,,,,-45147,1,1730493938,0 -2,Department Store,,,,0,,A,,,,-1499549,0,1730493491,0 -3,Grocery Store,,,1453633200000,50,,dhd,,,,-11751600,0,1730493369,0 -4,Pharmacy,,,,0,,dhshsvshs,,,,-16766866,0,1684347330,1 +1,Clothing Store,Note about store,,,0,,qw,,,ISO-8859-1,-45147,1,1730493938,0 +2,Department Store,,,,0,,A,,,ISO-8859-1,-1499549,0,1730493491,0 +3,Grocery Store,,,1453633200000,50,,dhd,,,UTF-8,-11751600,0,1730493369,0 +4,Pharmacy,,,,0,,dhshsvshs,,,ISO-8859-1,-16766866,0,1684347330,1 5,Restaurant,Note about restaurant here,,,0,,98765432,,CODE_128,UTF-8,-10902850,0,1730493357,0 6,Shoe Store,,,,0,,zhxbx,,AZTEC,ISO-8859-1,-6543440,0,1684347744,0