Disable haven configuration for iOS as default. Add ability to configure cakewallet for iOS with for configuration script. Remove cw_shared configuration for cw_monero.

This commit is contained in:
m 2024-05-09 21:04:21 +01:00
parent 1c17b69669
commit 112c092bde
2 changed files with 6 additions and 5 deletions

View file

@ -28,7 +28,10 @@ case $APP_IOS_TYPE in
CONFIG_ARGS="--monero"
;;
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --polygon --nano --bitcoinCash --solana --tron"
CONFIG_ARGS="--monero --bitcoin --ethereum --polygon --nano --bitcoinCash --solana --tron"
if [ "$CW_WITH_HAVEN" = true ];then
CONFIG_ARGS="$CONFIG_ARGS --haven"
fi
;;
$HAVEN)

View file

@ -1223,7 +1223,7 @@ Future<void> generatePubspec(
var output = cwCore;
if (hasMonero) {
output += '\n$cwMonero\n$cwSharedExternal';
output += '\n$cwMonero';
}
if (hasBitcoin) {
@ -1258,10 +1258,8 @@ Future<void> generatePubspec(
output += '\n$cwTron';
}
if (hasHaven && !hasMonero) {
if (hasHaven) {
output += '\n$cwSharedExternal\n$cwHaven';
} else if (hasHaven) {
output += '\n$cwHaven';
}
if (hasFlutterSecureStorage) {