Enhance Android notifications with live updates and fixes - #826
Open
trueWangSyutung wants to merge 2 commits into
Open
Enhance Android notifications with live updates and fixes#826trueWangSyutung wants to merge 2 commits into
trueWangSyutung wants to merge 2 commits into
Conversation
added 2 commits
September 1, 2026 11:20
- Add POST_PROMOTED_NOTIFICATIONS permission for Android 17+ support - Update targetSdk from 35 to 36 - Bump app version from 2.11.33 to 2.11.34 - Add setRequestPromotedOngoing and setStyle configuration to notification builder - Add critical text to display download speed for notifications - Update Gradle wrapper from 8.10.2 to 8.11.1 - Upgrade AGP from 8.8.0 to 8.9.1 - Upgrade core-ktx from 1.8.0 to 1.17.0 - Add permission annotations and required imports for notification updates
…c notification module - Corrected the text "downloaded data amount" in the notification to "downloading speed" - Fixed the display anomaly caused by incorrect variable name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to notification handling, dependency versions, and build configuration. The most significant changes are improvements to notification features, including support for promoted notifications and enhanced notification content, as well as updates to Gradle and Android dependencies for improved compatibility and performance.
Notification enhancements:
POST_PROMOTED_NOTIFICATIONSpermission toAndroidManifest.xmlto support promoted notifications.DynamicNotificationModuleto request promoted ongoing notifications, set a big text style, and use short critical text for improved notification appearance and behavior. [1] [2]@RequiresPermission(Manifest.permission.POST_NOTIFICATIONS)to ensure correct permission usage. [1] [2]Dependency and build configuration updates:
gradle-wrapper.properties.gradle/libs.versions.toml(e.g., AGP to 8.9.1, coreKtx to 1.17.0).gradle.propertiesto set the Java home for Gradle to OpenJDK 21.