diff --git a/.js.env.example b/.js.env.example index 325ee52559d..38daeab2a2c 100644 --- a/.js.env.example +++ b/.js.env.example @@ -1,10 +1,10 @@ # Sign up and generate your own keys at pubnub.com # Then rename this file to ".js.env" and rebuild the app -# +# # In order for this feature to work properly, you need to # build metamask-extension from source (https://github.com/MetaMask/metamask-extension) # and set your the same values there. -# +# # For more info take a look at https://github.com/MetaMask/metamask-extension/pull/5955 export MM_PUBNUB_SUB_KEY="" @@ -107,3 +107,6 @@ export MM_MULTICHAIN_V1_ENABLED="" # Permissions Settings feature flag specific to UI changes export MM_PERMISSIONS_SETTINGS_V1_ENABLED="" + +# Feature flag for Stablecoin Lending UI +export MM_STABLECOIN_LENDING_UI_ENABLED="true" diff --git a/app/components/UI/Stake/constants/index.ts b/app/components/UI/Stake/constants/index.ts index 4d59090ccc0..6083f05f903 100644 --- a/app/components/UI/Stake/constants/index.ts +++ b/app/components/UI/Stake/constants/index.ts @@ -2,5 +2,8 @@ export const isPooledStakingFeatureEnabled = () => process.env.MM_POOLED_STAKING_UI_ENABLED === 'true'; +export const isStablecoinLendingFeatureEnabled = () => + process.env.MM_STABLECOIN_LENDING_UI_ENABLED === 'true'; + export const POOLED_STAKING_FAQ_URL = 'https://support.metamask.io/metamask-portfolio/move-crypto/stake/staking-pool/'; diff --git a/bitrise.yml b/bitrise.yml index e46fa35dea7..827ee5e8202 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -114,7 +114,7 @@ stages: workflows: - deploy_android_to_store: {} create_build_qa_and_expo: - workflows: + workflows: - build_android_devbuild: {} - build_android_qa: {} - build_ios_devbuild: {} @@ -1247,20 +1247,20 @@ workflows: - content: |- # Define the source path of the generated APK SOURCE_APK_PATH="$PROJECT_LOCATION/app/build/outputs/apk/prod/debug/app-prod-debug.apk" - + # Define the destination path with the new name DEST_APK_PATH="$BITRISE_DEPLOY_DIR/android-expo-dev-build.apk" - + # Copy and rename the APK cp "$SOURCE_APK_PATH" "$DEST_APK_PATH" - + # Optionally, print the new path for verification echo "APK has been copied and renamed to: $DEST_APK_PATH" - deploy-to-bitrise-io@2.2.3: is_always_run: false is_skippable: true inputs: - - deploy_path: "$BITRISE_DEPLOY_DIR/android-expo-dev-build.apk" + - deploy_path: '$BITRISE_DEPLOY_DIR/android-expo-dev-build.apk' title: Bitrise Deploy APK meta: bitrise.io: @@ -1537,13 +1537,13 @@ workflows: - content: |- # Define the source path of the generated IPA SOURCE_IPA_PATH="ios/build/output/MetaMask.ipa" - + # Define the destination path with the new name DEST_IPA_PATH="$BITRISE_DEPLOY_DIR/ios-expo-dev-build.ipa" - + # Copy and rename the IPA cp "$SOURCE_IPA_PATH" "$DEST_IPA_PATH" - + # Optionally, print the new path for verification echo "IPA has been copied and renamed to: $DEST_IPA_PATH" - deploy-to-bitrise-io@2.2.3: @@ -1551,7 +1551,7 @@ workflows: is_skippable: true inputs: - pipeline_intermediate_files: ios/build/output/MetaMask.ipa:BITRISE_APP_STORE_IPA_PATH - - deploy_path: "$BITRISE_DEPLOY_DIR/ios-expo-dev-build.ipa" + - deploy_path: '$BITRISE_DEPLOY_DIR/ios-expo-dev-build.ipa' title: Deploy iOS IPA build_ios_qa: envs: @@ -1761,6 +1761,9 @@ app: - opts: is_expand: false MM_SECURITY_ALERTS_API_ENABLED: true + - opts: + is_expand: false + MM_STABLECOIN_LENDING_UI_ENABLED: false - opts: is_expand: false PROJECT_LOCATION: android