From 019019d4d346b3b6aae40863398a35e95176460f Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Fri, 31 Oct 2025 10:28:54 +0100 Subject: [PATCH] Added comments to specify how poster event ticket Live Activity is activated --- src/schemas/index.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/schemas/index.ts b/src/schemas/index.ts index c0469d6..111832f 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -135,7 +135,16 @@ export interface PassProps { stripColor?: string; nfc?: NFC; + + /** + * @iOSChange 18 + * Use this to also trigger Live Activities + * in poster event ticket passes. At least one + * of "relevantDates", "location" and "beacons" + * must be available to trigger Live Activities. + */ beacons?: Beacon[]; + barcodes?: Barcode[]; /** @@ -144,9 +153,24 @@ export interface PassProps { */ relevantDate?: string; + /** + * @iOSVersion 18 + * Use this to also trigger Live Activities + * in poster event ticket passes. At least one + * of "relevantDates", "location" and "beacons" + * must be available to trigger Live Activities. + */ relevantDates?: RelevantDate[]; expirationDate?: string; + + /** + * @iOSChange 18 + * Use this to also trigger Live Activities + * in poster event ticket passes. At least one + * of "relevantDates", "location" and "beacons" + * must be available to trigger Live Activities. + */ locations?: Location[]; boardingPass?: PassFields & { transitType: TransitType };