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.
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -1,6 +1,6 @@
|
||||
name: hash_wallet
|
||||
description: Hash Bags — a noncustodial multi-currency wallet by Such Software LLC.
|
||||
version: 1.0.0+6
|
||||
version: 1.0.0+7
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
|
||||
@@ -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"
|
||||
|
||||