-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
FCM support add extra options #2982
Conversation
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.
🌟
@tienthanh2509 I just noticed the issue you are trying to close was assigned to a different contributor. The PR was added here: #2979 |
@tienthanh2509 PR was merged. You can edit this PR based on latest |
Hi @p-fernandez POST /api/v1/events/trigger HTTP/1.1
Content-Type: application/json
Authorization: ApiKey redacted
Host: 192.168.128.62:3080
Content-Length: 792
{
"name": "some-template",
"to": {
"subscriberId": "redacted"
},
"payload": {
"action_type": "some data"
},
"overrides": {
"fcm": {
"type": "data",
"android": {
"data": {
...
},
"priority": "high"
},
"apns": {
"headers": {
"apns-priority": "5"
},
"payload": {
...
}
}
}
}
} |
- iOS with headers - Android with priority - Add test cases for FCM provider
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.
The PR was cleaned up due to duplicate #2979
Only additional fields was added
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.
🌟
What change does this PR introduce?
Support adding additional options for FCM message
FCM option with analytics_labelIt already done on feat: Add fcmOptions to Firebase provider #2979apns
with additional headers include priority header, Ref https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apnsWhy was this change needed?
Closes #2233, #2965
Other information (Screenshots)
add fcmOptionsIt already done on feat: Add fcmOptions to Firebase provider #2979