You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demo/build.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -283,10 +283,10 @@ Only shown on iOS. Requires an iOS Widget Extension target with a Live Activity
283
283
- Input card with two editable fields (pre-filled, not empty), using Inline Input Row styling per styles.md:
284
284
- "Activity ID" (default: "order-1") — identifies the Live Activity for all operations
285
285
- "Order #" (default: "ORD-1234") — attribute set at start, immutable after
286
-
-Four buttons:
286
+
-Three buttons:
287
287
1. START LIVE ACTIVITY — calls `OneSignal.LiveActivities.startDefault(activityId, attributes, content)` with initial order status. Disabled when Activity ID is empty.
288
288
2. UPDATE → {NEXT STATUS} — cycles through order statuses via REST API (`event: "update"`). Label dynamically shows the next status (e.g. "UPDATE → ON THE WAY"). Disabled when Activity ID is empty, while updating, or when no API key is configured.
289
-
3. END LIVE ACTIVITY — ends the activity via REST API (`event: "end"`) with `dismissal_date`. Outlined style. Disabled when Activity ID is empty or when no API key is configured.
289
+
3. END LIVE ACTIVITY — ends the activity via REST API (`event: "end"`) with `dismissal_date`. Destructive style. Disabled when Activity ID is empty or when no API key is configured.
290
290
291
291
Order status cycle (content state fields: `status`, `message`, `estimatedTime`):
292
292
@@ -489,7 +489,7 @@ All actions show brief feedback via platform's transient message (SnackBar/Toast
489
489
- IAM: "Sent In-App Message: {type}"
490
490
- Outcomes: "Outcome sent: {name}"
491
491
- Events: "Event tracked: {name}"
492
-
- Live Activities: "Started Live Activity: {activityId}", "Updated Live Activity: {activityId}", "Ended Live Activity: {activityId}", "Exited Live Activity: {activityId}" / "Failed to update Live Activity" / "Failed to end Live Activity"
492
+
- Live Activities: "Started Live Activity: {activityId}", "Updated Live Activity: {activityId}", "Ended Live Activity: {activityId}" / "Failed to update Live Activity" / "Failed to end Live Activity"
493
493
494
494
Clear previous message before showing new. All messages also logged via LogManager.i().
0 commit comments