Repository navigation
Caravella 2.0.2
Changed
- Minimum Android version is now 10 (API 29), up from 7.0. Devices on Android 7–9 keep the version they have but no longer get updates
- Edge-to-edge on every supported Android version (
WindowCompat.enableEdgeToEdgeinMainActivity, previously only Android 10+) and display-cutout modealwaysfrom Android 11 instead of the deprecatedshortEdges— addresses the two edge-to-edge recommendations in Play Console. The remaining deprecated-API hits Play lists come from libraries (Material date picker, AndroidXEdgeToEdgefallbacks) - Android Gradle Plugin 8.13 → 9.1.0, Gradle 8.14 → 9.3.1, Kotlin 2.2.20 → 2.4.0 (Flutter 3.47's template versions); R8 optimized resource shrinking enabled, and release App Bundles now carry native symbol tables (
debugSymbolLevel = SYMBOL_TABLE) so Play can symbolicate native crashes - The Store workflow keeps each release's R8
mapping.txtand native debug symbols as a build artifact, to retrace obfuscated names shown in Play Console - Android Gradle Plugin 8.11.1 → 8.13.2. With 8.11 the release lint check failed under JDK 21 (
MainActivity must extend android.app.Activity, a false positive: it couldn't load theandroid-37.0platform), which blocked local and F-Droid release builds; CI only passed because it runs JDK 17 - Release builds are signed only when
android/key.propertiesexists; without it (local checkout, F-Droid) the release APK is built unsigned instead of failing on an empty signing config - GitHub releases follow the store: the new manual Android CI - Pre-release workflow publishes a GitHub pre-release
v<version>-rc.<n>with a signed staging APK and the[Unreleased]notes, for testing without touching Google Play. Android CI - Store now also builds a prod APK from the same commit and prepares a draft GitHub releasev<version>with the version's CHANGELOG notes; Android CI - Store Promote publishes it when the version goes to production. The old job that built an APK and bumpedpubspec.yamlon every published GitHub release is gone — the version is bumped when preparing a release
Fixed
- In-app updates: after tapping "Update now" in the new-version sheet the download ran, but the "ready to install" prompt never appeared — you had to close and reopen the app to get it. The prompt now appears as soon as the download finishes (the "downloading in background" toast now shows when the download actually starts, not when it ends). The Settings update card had the same misplaced toast
- Google Drive sync could never sign in (Settings → Synchronization → Sync your devices → Enable showed "Google sign-in failed" on every device): Google sign-in on Android needs the project's Web OAuth client ID (
serverClientId), which the app didn't pass, so it failed before even checking the account. Thecaravella-egmWeb client ID is now built in (GOOGLE_DRIVE_SERVER_CLIENT_IDoverrides it), and a failed sign-in no longer also logs an uncaught error - Contrast review of the light and dark themes (WCAG AA, measured on device):
- Dark theme, text over a group's background photo (home card and group page header): the photo veil started almost transparent at the top, right where the title, dates, Favorite/Shared badges, "Total" and "today" sit, and those were grey — 1.3–2.8:1 over a light sky. The veil now covers the whole text area at 70% (then nearly opaque below), and those texts use the primary text color: ≥5.3:1 even over a pure white or black photo (5.4–8.7:1 measured on the demo photos). The photo is a little more muted at the top in the light theme too, since the same veil has to work with dark photos
- Light theme teal used as text and on filled buttons ("Add expense", "See all", selected chips, links) darkened from #009688 (3.3–3.7:1) to #00736A (≥4.6:1 on every light surface, 5.7:1 under white text). The launcher icon and splash keep #009688
- Dark theme secondary text (
outline) lightened from #8A8A8A to #A0A0A0, which was 3.7–4.4:1 on cards - Text field underlines use
outlineinstead ofoutlineVariant(1.4:1 → 5.4:1 in the light theme; 3:1 is required for the border that identifies a field), 1 px wide; focused fields go to 2 px so they stay distinguishable - Empty-state texts ("No expenses") are no longer half-transparent (2.1–2.5:1)
- Text on the coral
secondary/tertiarycolors is black instead of white (2.8–3.2:1 → ≥6.5:1), except on the light theme's darkertertiary, where white already passes - New
test/themes/theme_contrast_test.dartchecks these ratios for the whole palette in both themes and the photo veil, so a future color change can't silently regress them
- Dark theme: group avatars without a photo or color (home "Your groups" carousel, Groups list), the group page's round action buttons and group cards without a background were near-black (#0E0F10), darker than the page, so they read as holes. They now use a new
raisedSurfacerole — one step lighter than the page in the dark theme (#313334), white as before in the light theme - The navigation bar kept the previous theme's color after switching theme from Settings → Appearance (black bar with dark icons right after choosing Light), and on other screens without their own system-bar styling: the app now applies a theme-aware default to every screen
- Expense pins that overlap on the map (e.g. several expenses a few hundred meters apart in the same city) are now grouped into one numbered pin that opens all of them; zooming in splits the group. Before, only the top pin could be tapped
- Dates now use the app language's format everywhere: the home group card, the group period and date fields, and the expense date wrote day/month by hand, while statistics followed the locale (so the same period read 9/10 - 18/10 on the home card and 10/9 - 10/18 in Overview, in English). The home card's open-ended periods no longer show the Italian "Dal"/"Fino al" in every language
The same version is on Google Play. The attached APK is for installing without Play: it is signed with a different key than the Play Store app, so it can't update an installation that came from Play (uninstall that first; data is not carried over).
Full diff: v2.0.1...v2.0.2