2024-01-11 23:00:41 +00:00
|
|
|
IOS="ios"
|
|
|
|
ANDROID="android"
|
|
|
|
|
|
|
|
PLATFORMS=($IOS $ANDROID)
|
|
|
|
PLATFORM=$1
|
|
|
|
|
|
|
|
if ! [[ " ${PLATFORMS[*]} " =~ " ${PLATFORM} " ]]; then
|
|
|
|
echo "specify platform: ./configure_cake_wallet.sh ios|android"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$PLATFORM" == "$IOS" ]; then
|
|
|
|
echo "Configuring for iOS"
|
|
|
|
cd scripts/ios
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$PLATFORM" == "$ANDROID" ]; then
|
|
|
|
echo "Configuring for Android"
|
|
|
|
cd scripts/android
|
|
|
|
fi
|
|
|
|
|
2023-08-04 17:01:49 +00:00
|
|
|
source ./app_env.sh cakewallet
|
|
|
|
./app_config.sh
|
|
|
|
cd ../.. && flutter pub get
|
2023-11-24 23:31:49 +00:00
|
|
|
flutter packages pub run tool/generate_localization.dart
|
2023-08-04 17:01:49 +00:00
|
|
|
cd cw_core && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
CW-551-Refactor-EVM-Chains (#1256)
* feat: Create central package for EVM chains
* chore: Cleanup pubspec and add core evm dependencies
* feat: Replicated core evm chain files, time to start fixing the issues
* feat: Setup evm central package to handle all evm chains
* feat: Link up Polygon and Ethereum wallets to the centra evm package, fix bugs and issues, and optimze for better performance
* feat: Setup and adjust configs to reflect new evm configurations
* Remove unneeded file
* fix: Changes done while re-reviewing entire structure and refactor
* fix: Add evm chain wallet path to imports in configure file
* feat: Adjust implementation of parent class, remove unneeded files, remove windows, linux and mac directories, restructure the evm child classes
* fix: Make EVMChainWallet a central abstract class and adjust accordingly
* fix: Adjust transaction info, restructure EVMWalletChain to be an abstract, adjust external facing interfaces for polygon and ethereum, adjust configuration for ethereum and polygon in configure file
* fix: Testing issues
* fix: Add localization for nft tile and details page texts and add dashes for null responses
* fix: merge conflicts
* Minor fixes for building Monero.com
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-01-30 18:01:48 +00:00
|
|
|
cd cw_evm && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-08-04 17:01:49 +00:00
|
|
|
cd cw_monero && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
|
|
cd cw_bitcoin && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
|
|
cd cw_haven && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-10-05 01:09:07 +00:00
|
|
|
cd cw_nano && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-10-12 22:50:16 +00:00
|
|
|
cd cw_bitcoin_cash && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2024-02-23 17:09:24 +00:00
|
|
|
cd cw_solana && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2024-01-31 14:05:03 +00:00
|
|
|
cd cw_ethereum && flutter pub get && cd ..
|
|
|
|
cd cw_polygon && flutter pub get && cd ..
|
2023-08-04 17:01:49 +00:00
|
|
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|