Add copy button for mnemonic after creating new wallet (#13)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
co-authored by
Shreerang Kale
IshaVenikar
parent
4827fa8c7c
commit
e975f4c9f7
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Default value for IS_RELEASE
|
||||
IS_RELEASE=${IS_RELEASE:-false}
|
||||
|
||||
# Install dependencies
|
||||
echo "Installing dependencies..."
|
||||
yarn
|
||||
|
||||
# Create the necessary directory for assets
|
||||
mkdir -p android/app/src/main/assets/
|
||||
|
||||
# Bundle the React Native application
|
||||
yarn react-native bundle \
|
||||
--platform android \
|
||||
--dev false \
|
||||
--entry-file index.js \
|
||||
--bundle-output android/app/src/main/assets/index.android.bundle \
|
||||
--assets-dest android/app/src/main/res
|
||||
|
||||
# Navigate to the android directory
|
||||
cd android
|
||||
|
||||
# Run the Gradle build based on the IS_RELEASE flag
|
||||
if [ "$IS_RELEASE" = "true" ]; then
|
||||
echo "Building release version..."
|
||||
./gradlew assembleRelease
|
||||
else
|
||||
echo "Building debug version..."
|
||||
./gradlew assembleDebug
|
||||
fi
|
||||
Reference in New Issue
Block a user