Skip to content

Enhance Android notifications with live updates and fixes - #826

Open
trueWangSyutung wants to merge 2 commits into
MetaCubeX:mainfrom
trueWangSyutung:main
Open

Enhance Android notifications with live updates and fixes#826
trueWangSyutung wants to merge 2 commits into
MetaCubeX:mainfrom
trueWangSyutung:main

Conversation

@trueWangSyutung

Copy link
Copy Markdown

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:

  • Added the POST_PROMOTED_NOTIFICATIONS permission to AndroidManifest.xml to support promoted notifications.
  • Updated DynamicNotificationModule to request promoted ongoing notifications, set a big text style, and use short critical text for improved notification appearance and behavior. [1] [2]
  • Annotated notification update methods with @RequiresPermission(Manifest.permission.POST_NOTIFICATIONS) to ensure correct permission usage. [1] [2]

Dependency and build configuration updates:

  • Upgraded Gradle to version 8.11.1 and updated the SHA256 checksum in gradle-wrapper.properties.
  • Updated important Android and Kotlin library versions in gradle/libs.versions.toml (e.g., AGP to 8.9.1, coreKtx to 1.17.0).
  • Modified gradle.properties to set the Java home for Gradle to OpenJDK 21.

Wang Syutung 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant