-
Notifications
You must be signed in to change notification settings - Fork 392
feat(fcm): Support apns.live_activity_token
field in FCM ApnsConfig
#2891
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
Conversation
@@ -1725,6 +1725,21 @@ describe('Messaging', () => { | ||
}); | ||
}); | ||
|
||
const invalidApnsLiveActivityTokens: any[] = [null, NaN, 0, 1, true, false] |
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.
perhaps we should add a test for valid payload?
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.
Sure thing. I added the tests with valid payloads for the live activity start | update | end
events
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.
Thank you for your contribution! Could you change the new property to lowerCamelCase
formatting?
Can you also run npm run api-extractor:local
? That would update the api docs and should fix the CI errors. Thanks!
* feat(fcm): Support `live_activity_token` field on `ApnsConfig` * added validation * update documentation
756c68d
to
1d032bd
Compare
Review requested changes were made and error addressed. Removing to unblock.
live_activity_token
field onApnsConfig
Fixes #2875