Cant pass ios spectific fields through FCM
Open
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 887
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I have a problem. I try to pass "alert" field through FCM.
As far as I understand FCM works both for ios and android but for go rush its like "android mode".
And i need to pass ios specific field alert through him like this
{
"notifications": [
{
"tokens": ["123"],
"platform": 2,
"message": "Ground control to major Tom",
"alert": {
"title" : "Game Request",
"body" : "Bob wants to play poker",
"action-loc-key" : "PLAY"
}
}
]
}
Is it possible? I pass platform = 2 because it FCM
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Start by locating the FCM handling path for platform 2 and compare the accepted notification fields with the shown iOS alert payload; done means establishing whether alert can be passed through and capturing the supported behavior in a test or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, ios
- Domain
- backend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100