Also start the FetchForegroundService in onDeletedMessages() (#3317)

See https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages

Shouldn't happen very often, but if it does, it's good to connect, too.
This commit is contained in:
Hocuri
2024-09-23 14:57:12 +02:00
committed by GitHub
parent 9ffa76c0f4
commit 8aa615157a
@@ -102,7 +102,7 @@ public class FcmReceiveService extends FirebaseMessagingService {
@Override
public void onDeletedMessages() {
Log.i(TAG, "FCM push notifications dropped");
// nothing special to do as we're running now and notifications should be processed as usual.
FetchForegroundService.start(this);
}
@Override