f56dcbe5f7
The stored fcm_token is the Firebase Installation ID; HTTP v1 deprecates message.token (accepted only during the transition) in favour of message.fid. Push examples and push_fcm tests follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
18 lines
384 B
JSON
18 lines
384 B
JSON
{
|
|
"message": {
|
|
"fid": "dExampleFid0Kvitt12345",
|
|
"android": {
|
|
"priority": "high",
|
|
"ttl": "86400s"
|
|
},
|
|
"data": {
|
|
"v": "1",
|
|
"type": "recurring_expense_created",
|
|
"entity_type": "expense",
|
|
"entity_id": "01929c5e-1111-7aaa-8bbb-000000000003",
|
|
"actor_user_id": "0192a000-0000-7000-8000-000000000001",
|
|
"count": "1"
|
|
}
|
|
}
|
|
}
|