mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Fixed sample model
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
"value": "The text to show"
|
"value": "The text to show"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "additionalInfo-1",
|
"key": "additionalInfo-2",
|
||||||
"label": "Additional Info 2",
|
"label": "Additional Info 2",
|
||||||
"value": "The text to show 2"
|
"value": "The text to show 2"
|
||||||
},
|
},
|
||||||
@@ -36,20 +36,13 @@
|
|||||||
"key": "lineItem3",
|
"key": "lineItem3",
|
||||||
"label": "Emergency Contact",
|
"label": "Emergency Contact",
|
||||||
"value": "+1 8716 12736131",
|
"value": "+1 8716 12736131",
|
||||||
"dataDetectorTypes": [
|
"dataDetectorTypes": ["PKDataDetectorTypePhoneNumber"]
|
||||||
"PKDataDetectorTypePhoneNumber",
|
|
||||||
"used only on Watch"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "lineItem4",
|
"key": "lineItem4",
|
||||||
"label": "Test link",
|
"label": "Test link",
|
||||||
"value": "https://apple.com",
|
"value": "https://apple.com",
|
||||||
"dataDetectorTypes": [
|
"dataDetectorTypes": ["PKDataDetectorTypeLink"],
|
||||||
"PKDataDetectorTypeLink",
|
|
||||||
"used only on Watch"
|
|
||||||
],
|
|
||||||
"textAlignment": "<unused in these fields>",
|
|
||||||
"attributedValue": "<a href=\"https://apple.com\">Used literally on iPhone, used correctly on Watch</a>"
|
"attributedValue": "<a href=\"https://apple.com\">Used literally on iPhone, used correctly on Watch</a>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user