Skip to content

feat(iOS): add support for iOS Live Activity push-to-start payloads#879

Merged
appleboy merged 4 commits into
appleboy:masterfrom
johnsharp97:push-to-start
Jul 25, 2026
Merged

feat(iOS): add support for iOS Live Activity push-to-start payloads#879
appleboy merged 4 commits into
appleboy:masterfrom
johnsharp97:push-to-start

Conversation

@johnsharp97

Copy link
Copy Markdown
Contributor

Live Activities can be started remotely via push as of iOS 17.2. This adds the fields required to send a push-to-start notification through gorush.

  • Add iOS Live Activity push-to-start support via attributes-type, attributes, and relevance-score
  • Update README

Tested end to end on a physical device.

Reference: https://developer.apple.com/documentation/activitykit/starting-and-updating-live-activities-with-activitykit-push-notifications

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for iOS Live Activity push-to-start payload fields so gorush can construct the APNs aps keys required to start Live Activities remotely (iOS 17.2+), alongside documentation and test updates.

Changes:

  • Extend the iOS PushNotification model with attributes-type, attributes, and relevance-score.
  • Populate these fields in the APNs payload builder for Live Activity notifications.
  • Update README and add/extend APNs payload unit tests for Live Activity scenarios (including push-to-start).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
README.md Documents liveactivity push type and new Live Activity push-to-start fields + example payload
notify/notification.go Adds Live Activity push-to-start fields to the request model
notify/notification_apns.go Maps new request fields into the APNs aps payload for Live Activities
notify/notification_apns_test.go Adds assertions and a new test covering push-to-start payload composition

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md
Comment thread notify/notification.go
johnsharp97 and others added 2 commits July 24, 2026 20:04
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@appleboy
appleboy merged commit db13af3 into appleboy:master Jul 25, 2026
6 checks passed
@appleboy

Copy link
Copy Markdown
Owner

@johnsharp97 Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants