Server: FCM HTTP v1 target in fid instead of deprecated token (D-083 follow-up)

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
This commit is contained in:
2026-10-18 15:16:09 +02:00
parent a3127586ca
commit f56dcbe5f7
10 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"message": {
"token": "dGhpcyBpcyBhbiBleGFtcGxlIGZjbSB0b2tlbg",
"fid": "dExampleFid0Kvitt12345",
"android": {
"priority": "high",
"ttl": "86400s"