Mit Firebase rief ich sende dieses JSON:Wenn App im Hintergrund didReceiveRemoteNotification ist nicht mit Firebase
{
"data": {
},
"priority": "high",
"to": "xxxxx",
"content-available": "true",
"notification": {
"body": "HI!",
"title": "FCM Message",
"badge": 1,
"sound": "Default"
}
}
Aber didReceiveRemoteNotification:fetchCompletionHandler
wird nicht aufgerufen, wenn App im Hintergrund ist.
Ich aktivieren Hintergrundmodi - Remote-Benachrichtigungen von Funktionen.
Irgendwelche Vorschläge?
jetzt funktioniert es, danke! –