Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

docs/phone-push.md: Live Activity pushes leave alert unset except push-to-start (#6076)

Milind Soni56fcd06b1fbd
diff --git a/docs/phone-push.md b/docs/phone-push.md
index 13673ffd6e..11dfaeba8c 100644
--- a/docs/phone-push.md
+++ b/docs/phone-push.md
@@ -86,6 +86,16 @@ FCM message with `title`, `tag`, `channelId`, `categoryId`, `threadIdentifier`
and `body` (the same fields as JSON), and no message text. The exact shapes are
in `cloudflare/control-plane/README.md` ("Phone push relay").
+A Live Activity push leaves `alert` unset. An activity `update` that carries
+`alert` lights the screen and pops the activity open in the Dynamic Island,
+which brings back the large expanded island the phone app removed (its own
+activities send no alert configuration, so the island stays a small mark).
+The person still hears about the ask: the closed-app alert above arrives as
+an ordinary notification. Only a push-to-start `start` carries `alert`,
+because ActivityKit does not start an activity remotely without one.
+`server/phone-activity.ts` sets `alert` today on every move into needs-you,
+on updates as well as starts; it should set it on starts only.
+
## No duplicates with local notifications
A push goes only to a phone with no live stream, so most of the time only one