-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for Live Activity with ActivityKit push notifications #130
Conversation
Thanks for opening this pull request!
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #130 +/- ##
==========================================
+ Coverage 93.42% 93.53% +0.11%
==========================================
Files 23 23
Lines 578 588 +10
==========================================
+ Hits 540 550 +10
Misses 38 38
☔ View full report in Codecov by Sentry. |
@mtrezza thanks for fixing the CI, is this good? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me; not sure if we can find anyone to review this, since it's a very specific feature. In any case we could merge it and fix any issues that may arise.
# [5.2.0](5.1.3...5.2.0) (2023-07-16) ### Features * Add support for Live Activity with ActivityKit push notifications ([#130](#130)) ([80717cd](80717cd))
🎉 This change has been released in version 5.2.0 |
|
||
set event(value) { | ||
if (typeof value === 'string' || value === undefined) { | ||
this.aps.event = value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be events
? The docs here refers to the key as "events": https://developer.apple.com/documentation/activitykit/updating-and-ending-your-live-activity-with-activitykit-push-notifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
https://developer.apple.com/documentation/activitykit/updating-and-ending-your-live-activity-with-activitykit-push-notifications
This PR also fixes the broken tests.