|
1 | 1 | # SnapNotify |
2 | 2 |
|
3 | 3 | [](https://androidweekly.net/issues/issue-692) |
4 | | -[](https://kotlinlang.org) |
5 | | -[](https://developer.android.com/jetpack/compose) |
| 4 | +[](https://kotlinlang.org) |
| 5 | +[](https://developer.android.com/develop/ui/compose/bom) |
6 | 6 | [](https://android-arsenal.com/api?level=24) |
7 | 7 | [](https://opensource.org/licenses/Apache-2.0) |
8 | | -[](https://central.sonatype.com/artifact/io.github.ivamsi/snapnotify/1.0.5) |
| 8 | +[](https://central.sonatype.com/artifact/io.github.ivamsi/snapnotify/1.0.6) |
9 | 9 | [](#-testing) |
10 | 10 | [](#-testing) |
11 | 11 |
|
@@ -76,13 +76,29 @@ Add to your `build.gradle.kts`: |
76 | 76 |
|
77 | 77 | ```kotlin |
78 | 78 | dependencies { |
79 | | - implementation("io.github.ivamsi:snapnotify:1.0.5") |
| 79 | + implementation("io.github.ivamsi:snapnotify:1.0.6") |
80 | 80 | } |
81 | 81 | ``` |
82 | 82 |
|
83 | 83 | **Hilt Integration (Optional):** |
84 | 84 | SnapNotify works with or without Hilt! If you use Hilt, no additional setup needed. |
85 | 85 |
|
| 86 | +## Changelog |
| 87 | + |
| 88 | +Release history is in [CHANGELOG.md](CHANGELOG.md). |
| 89 | + |
| 90 | +## Developing |
| 91 | + |
| 92 | +This repository’s sample app depends on `project(":snapnotify")` so `./gradlew check` works on a clean clone without publishing. To validate the same artifact consumers get from Maven, run `./gradlew :snapnotify:publishToMavenLocal` and point a module to `io.github.ivamsi:snapnotify:1.0.6` with `mavenLocal()` in `dependencyResolutionManagement` (or your module repositories). |
| 93 | + |
| 94 | +## Releasing (maintainers) |
| 95 | + |
| 96 | +1. Bump the library version in `snapnotify/build.gradle.kts` (`mavenPublishing { coordinates(...) }`), demo `versionCode` / `versionName`, [CHANGELOG.md](CHANGELOG.md), and the installation/coordinates snippets in this README. |
| 97 | +2. Run `./gradlew check`. |
| 98 | +3. Commit, create an annotated tag `vX.Y.Z`, and push the branch and tag to GitHub. |
| 99 | +4. Publish to Maven Central: `./gradlew :snapnotify:publishAndReleaseToMavenCentral` with [Central Portal credentials and signing](https://vanniktech.github.io/gradle-maven-publish-plugin/central/) (see comments in `gradle.properties`). |
| 100 | +5. On GitHub, create a **Release** from that tag and attach release notes (can mirror the changelog section). |
| 101 | + |
86 | 102 | ## 🎯 Quick Start |
87 | 103 |
|
88 | 104 | ### 1. Setup (Flexible Usage) |
@@ -186,7 +202,8 @@ SnapNotify.showStyled("10 second custom style", customStyle, durationMillis = 10 |
186 | 202 |
|
187 | 203 | ## 🌟 Key Features |
188 | 204 |
|
189 | | -### 🆕 Latest Updates (v1.0.5) |
| 205 | +### 🆕 Latest Updates (v1.0.6) |
| 206 | +- **Toolchain**: Android Gradle Plugin 9.1 / Gradle 9.3.1, Kotlin 2.3.20 with [built-in Kotlin in AGP 9](https://developer.android.com/build/migrate-to-built-in-kotlin), updated AndroidX / Compose BOM / Hilt |
190 | 207 | - **Queue Configuration**: Configure max queue size and get notified when messages are dropped |
191 | 208 | - **Enhanced Keyboard Handling**: Snackbars now automatically avoid IME (keyboard) and work with navigation bars |
192 | 209 | - **Provider Flexibility**: New parameters for alignment, insets, and custom host rendering |
|
0 commit comments