-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish background FCM broadcasts after handling the message. #5142
Conversation
* Changed to finish a background broadcast after the message has been handled, subject to a timeout. This keeps the `FirebaseMessagingService`'s process in an active state while it is handling an FCM message, up to the 20 seconds allowed. * Removed acquiring a WakeLock for background broadcasts as one is held for the app until the broadcast is finished.
Release note changesThe following release notes were modified. Please ensure they look correct. Release Notesfirebase-messaging### {{messaging_longer}} version 23.1.3 {: #messaging_v23-1-3}
* {{deprecated}} Deprecated FCM upstream messaging. See the
[FAQ](https://firebase.google.com/support/faq#fcm-23-deprecation) for more
details.
* {{changed}} Changed to finish a background broadcast after the message has been
handled, subject to a timeout. This keeps the `FirebaseMessagingService`'s
process in an active state while it is handling an FCM message, up to the
20 seconds allowed.
#### {{messaging_longer}} Kotlin extensions version 23.1.3 {: #messaging-ktx_v23-1-3}
The Kotlin extensions library transitively includes the updated
`firebase-messaging` library. The Kotlin extensions library has no additional
updates. |
Coverage Report 1Affected Products
Test Logs |
Unit Test Results 54 files ±0 54 suites ±0 6m 58s ⏱️ +6s Results for commit 00bc602. ± Comparison against base commit bf8cb54. This pull request removes 3 and adds 3 tests. Note that renamed tests count towards both.
|
Size Report 1Affected Products
Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
FirebaseMessagingService
's process in an active state while it is handling an FCM message, up to the 20 seconds allowed.