mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Generic fixes and enhancements (#1083)
* Add exception handler to fiat APIs Increase send card size for coin control Fix Monero.com unspent coins hive box issue minor bug fix * Remove EIP-1559 parameters from Eth transaction Enhance error reporting * Throw error if not enough monero utx outputs are selected * Fix Search text color * Fix Ethereum sending EIP-1559 transactions * Add transaction data to ERC20 transactions * Add input check in single output transactions as well * Fix Node deletion issue Handle user input error in anonpay * Remove exception handler from fiat conversion since it's not working with isolates * Require enough utxo for amount and fees; More insightful Error messages * Add cakewallet to applinks [skip ci] * Add cakewallet app link for iOS [skip ci] * Add applink depending on app scheme variable * Add applink in iOS custom to the app getting built [skip ci] * Handle normal app links without considering them as Payment URIs * Minor fix [skip ci] * Fixate encrypt package version as the recent update they made has some issues [skip ci] --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
This commit is contained in:
co-authored by
Konstantin Ullrich
parent
4c9c6a1eae
commit
ce4d375abf
@@ -5,6 +5,7 @@ APP_ANDROID_VERSION=""
|
||||
APP_ANDROID_BUILD_VERSION=""
|
||||
APP_ANDROID_ID=""
|
||||
APP_ANDROID_PACKAGE=""
|
||||
APP_ANDROID_SCHEME=""
|
||||
|
||||
MONERO_COM="monero.com"
|
||||
CAKEWALLET="cakewallet"
|
||||
@@ -18,12 +19,14 @@ MONERO_COM_VERSION="1.6.0"
|
||||
MONERO_COM_BUILD_NUMBER=56
|
||||
MONERO_COM_BUNDLE_ID="com.monero.app"
|
||||
MONERO_COM_PACKAGE="com.monero.app"
|
||||
MONERO_COM_SCHEME="monero.com"
|
||||
|
||||
CAKEWALLET_NAME="Cake Wallet"
|
||||
CAKEWALLET_VERSION="4.9.0"
|
||||
CAKEWALLET_BUILD_NUMBER=169
|
||||
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
||||
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
||||
CAKEWALLET_SCHEME="cakewallet"
|
||||
|
||||
HAVEN_NAME="Haven"
|
||||
HAVEN_VERSION="1.0.0"
|
||||
@@ -44,6 +47,7 @@ case $APP_ANDROID_TYPE in
|
||||
APP_ANDROID_BUILD_NUMBER=$MONERO_COM_BUILD_NUMBER
|
||||
APP_ANDROID_BUNDLE_ID=$MONERO_COM_BUNDLE_ID
|
||||
APP_ANDROID_PACKAGE=$MONERO_COM_PACKAGE
|
||||
APP_ANDROID_SCHEME=$MONERO_COM_SCHEME
|
||||
;;
|
||||
$CAKEWALLET)
|
||||
APP_ANDROID_NAME=$CAKEWALLET_NAME
|
||||
@@ -51,6 +55,7 @@ case $APP_ANDROID_TYPE in
|
||||
APP_ANDROID_BUILD_NUMBER=$CAKEWALLET_BUILD_NUMBER
|
||||
APP_ANDROID_BUNDLE_ID=$CAKEWALLET_BUNDLE_ID
|
||||
APP_ANDROID_PACKAGE=$CAKEWALLET_PACKAGE
|
||||
APP_ANDROID_SCHEME=$CAKEWALLET_SCHEME
|
||||
;;
|
||||
$HAVEN)
|
||||
APP_ANDROID_NAME=$HAVEN_NAME
|
||||
@@ -66,4 +71,5 @@ export APP_ANDROID_NAME
|
||||
export APP_ANDROID_VERSION
|
||||
export APP_ANDROID_BUILD_NUMBER
|
||||
export APP_ANDROID_BUNDLE_ID
|
||||
export APP_ANDROID_PACKAGE
|
||||
export APP_ANDROID_PACKAGE
|
||||
export APP_ANDROID_SCHEME
|
||||
@@ -8,6 +8,7 @@ fi
|
||||
cd ../..
|
||||
sed -i "0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}" ./pubspec.yaml
|
||||
sed -i "0,/version:/{s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/}" ./android/app/src/main/AndroidManifest.xml
|
||||
sed -i "0,/__APP_SCHEME__/s/__APP_SCHEME__/${APP_ANDROID_SCHEME}/" ./android/app/src/main/AndroidManifest.xml
|
||||
sed -i "0,/version:/{s/__versionCode__/${APP_ANDROID_BUILD_NUMBER}/}" ./android/app/src/main/AndroidManifest.xml
|
||||
sed -i "0,/version:/{s/__versionName__/${APP_ANDROID_VERSION}/}" ./android/app/src/main/AndroidManifest.xml
|
||||
cd scripts/android
|
||||
|
||||
Reference in New Issue
Block a user