Android version-from-pubspec + proper iOS tinted icons

Android had the same hardcoded CAKEWALLET_BUILD_NUMBER=1 bug we just
fixed for iOS — bumping pubspec_description.yaml would not have moved
Play Store versionCode at all, and the second AAB upload would have
been rejected for duplicate versionCode. Mirror the iOS fix: parse
the build number from pubspec_description.yaml in scripts/android/app_env.sh.

Regenerate the 16 Tinted iOS icon slices as black bg + white hash mark.
The previous slices reused the green-bg light variant, which iOS 18+
cannot meaningfully tint (green-on-green collapses when the system
applies the home-screen accent color). Black background + white shape
gives iOS a clean luminance map to tint against.

Wownero monero! audit: cleared. Audit flagged two callsites in
fees_view_model.dart, but both wownero!.getWowneroTransactionPriority*
and monero!.getMoneroTransactionPriority* return the same
MoneroTransactionPriority singleton (cw_wownero.dart:158 +
cw_monero.dart:169), so the cross-call is inelegant but not buggy.

Bump 1.0.0+6 -> 1.0.0+7.
This commit is contained in:
jwinterm
2026-06-03 09:31:24 -04:00
parent 21f3a75aa5
commit 2abff1fe06
18 changed files with 8 additions and 3 deletions
+7 -2
View File
@@ -20,9 +20,14 @@ MONERO_COM_BUNDLE_ID="com.monero.app"
MONERO_COM_PACKAGE="com.monero.app"
MONERO_COM_SCHEME="monero.com"
# Source CAKEWALLET version + build number from pubspec_description.yaml
# (single source of truth across iOS/Android). Without this, the hardcoded
# build number here would silently override pubspec via inject_app_details.sh
# and every Play Store upload would ship as versionCode 1.
_PUBSPEC_VERSION=$(awk -F': ' '/^version:/ {print $2; exit}' ../../pubspec_description.yaml)
CAKEWALLET_NAME="Hash Bags"
CAKEWALLET_VERSION="1.0.0"
CAKEWALLET_BUILD_NUMBER=1
CAKEWALLET_VERSION="${_PUBSPEC_VERSION%+*}"
CAKEWALLET_BUILD_NUMBER="${_PUBSPEC_VERSION#*+}"
CAKEWALLET_BUNDLE_ID="com.suchsoftware.hashwallet"
CAKEWALLET_PACKAGE="com.suchsoftware.hashwallet"
CAKEWALLET_SCHEME="hashbags"