firebase / firebase/quickstart-android

Getting error after 1 min of app closed

Open
#857 5 comments 1 reaction 0 assignees View on GitHub
api: messaging type: bug
Dominant language
Kotlin
Stars
9.3k
Forks
7.4k
Avg merge
2d 19h
Merged PRs (30d)
8

Description

Getting below error after 1 min of app closed and when tring to send notification

4-09 13:00:41.860 1367 1685 W ActivityManager: Background start not allowed: service Intent { act=com.google.firebase.MESSAGING_EVENT pkg=com.vrk.testFCM1 cmp=com.vrk.testFCM1/.MyFirebaseMessagingService (has extras) } to com.vrk.testFCM1/.MyFirebaseMessagingService from pid=27640 uid=10258 pkg=com.vrk.testFCM1
04-09 13:00:41.861 27640 27640 E FirebaseInstanceId: Error while delivering the message: ServiceIntent not found.
04-09 13:00:41.865 3362 3435 E WakeLock: GCMSEND release without a matched acquire!
04-09 13:00:41.865 3362 3435 W WakeLock: GCMSEND counter does not exist

I think its device specific, but need how to handle in code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.