From 9cbca83ba4026a8d2d3c9ccb4f22440b91edf031 Mon Sep 17 00:00:00 2001 From: metamaskbot Date: Wed, 29 May 2024 16:14:38 +0000 Subject: [PATCH 01/42] 7.24.0 --- CHANGELOG.md | 62 ++++++++++++++++++++++++++ android/app/build.gradle | 4 +- bitrise.yml | 12 ++--- ios/MetaMask.xcodeproj/project.pbxproj | 24 +++++----- package.json | 2 +- 5 files changed, 83 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cface11f9e7..21b9b9fe0e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,68 @@ # Changelog ## Current Main Branch +- [#9787](https://github.com/MetaMask/metamask-mobile/pull/9787): fix: revert use of sponge not available in actions Ubuntu image +- [#9780](https://github.com/MetaMask/metamask-mobile/pull/9780): fix: make version setting script work with both main and flask +- [#9735](https://github.com/MetaMask/metamask-mobile/pull/9735): chore: add swaps team to swaps domain folder +- [#9637](https://github.com/MetaMask/metamask-mobile/pull/9637): chore: bump SES +- [#9721](https://github.com/MetaMask/metamask-mobile/pull/9721): fix: App slower when changing account and switching network +- [#9753](https://github.com/MetaMask/metamask-mobile/pull/9753): chore: Chore/optimize Wallet screen re-renders +- [#9775](https://github.com/MetaMask/metamask-mobile/pull/9775): fix: Update boost checksum +- [#9771](https://github.com/MetaMask/metamask-mobile/pull/9771): chore: align main and flask build numbers +- [#9767](https://github.com/MetaMask/metamask-mobile/pull/9767): feat: push Privacy policy date to 2024 Jun 18 12:00 UTC +- [#9772](https://github.com/MetaMask/metamask-mobile/pull/9772): fix: Fix/ruby install +- [#9774](https://github.com/MetaMask/metamask-mobile/pull/9774): fix: unit tests +- [#9129](https://github.com/MetaMask/metamask-mobile/pull/9129): feat: setting to show fiat values on testnets +- [#9682](https://github.com/MetaMask/metamask-mobile/pull/9682): fix: update base nickname +- [#9686](https://github.com/MetaMask/metamask-mobile/pull/9686): fix: update sepolia nickname +- [#9742](https://github.com/MetaMask/metamask-mobile/pull/9742): fix: Selecting custom ethereum mainnet on fresh install +- [#9764](https://github.com/MetaMask/metamask-mobile/pull/9764): fix: selectSelectedInternalAccount: Account with ID not found +- [#9683](https://github.com/MetaMask/metamask-mobile/pull/9683): refactor: the network name and image utils into selectors +- [#9706](https://github.com/MetaMask/metamask-mobile/pull/9706): fix: QR scanner crash when user dismisses camera view in web view +- [#9751](https://github.com/MetaMask/metamask-mobile/pull/9751): test: disable flakey test +- [#9639](https://github.com/MetaMask/metamask-mobile/pull/9639): chore: New Crowdin translations by Github Action +- [#9734](https://github.com/MetaMask/metamask-mobile/pull/9734): test: Added swap ERC20->ETH test case +- [#9740](https://github.com/MetaMask/metamask-mobile/pull/9740): feat: Update checkbox to be able to override checkbox style +- [#9733](https://github.com/MetaMask/metamask-mobile/pull/9733): fix: Fix/9662 account section disappears +- [#9708](https://github.com/MetaMask/metamask-mobile/pull/9708): test: add send to saved contact e2e test +- [#9707](https://github.com/MetaMask/metamask-mobile/pull/9707): feat: adds strings for the opt in toggles +- [#9725](https://github.com/MetaMask/metamask-mobile/pull/9725): chore: make test code dev env only +- [#9574](https://github.com/MetaMask/metamask-mobile/pull/9574): chore: update confirmations codeowners +- [#9712](https://github.com/MetaMask/metamask-mobile/pull/9712): chore: remove unnecessary patch imports and change the patch branch name +- [#9720](https://github.com/MetaMask/metamask-mobile/pull/9720): fix: in send flow, adding space at end of ENS address caused crash +- [#9651](https://github.com/MetaMask/metamask-mobile/pull/9651): feat: Upgrade signature Controller to v14 +- [#9690](https://github.com/MetaMask/metamask-mobile/pull/9690): test: Address App launch times failure test +- [#9699](https://github.com/MetaMask/metamask-mobile/pull/9699): fix: Move permission middleware to be later than rpc method middleware +- [#9301](https://github.com/MetaMask/metamask-mobile/pull/9301): Fix/flaky tests issues template skip 2 +- [#9640](https://github.com/MetaMask/metamask-mobile/pull/9640): chore: Update base controller v5, logging controller v3, permission controll… +- [#9696](https://github.com/MetaMask/metamask-mobile/pull/9696): fix(devDeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 +- [#9685](https://github.com/MetaMask/metamask-mobile/pull/9685): fix(deps): @metamask/eth-sig-util@^4.0.1->^7.0.2 +- [#9694](https://github.com/MetaMask/metamask-mobile/pull/9694): test: send flow page object refactor +- [#9568](https://github.com/MetaMask/metamask-mobile/pull/9568): fix: 9559 issue android json parse +- [#9346](https://github.com/MetaMask/metamask-mobile/pull/9346): feat: notifications LIST screen UI - [9 of 10] +- [#9658](https://github.com/MetaMask/metamask-mobile/pull/9658): chore: Upgrade react-native-svg to 15.3 +- [#9680](https://github.com/MetaMask/metamask-mobile/pull/9680): fix: Increase waiting for swaps and switch account on E2E +- [#9663](https://github.com/MetaMask/metamask-mobile/pull/9663): chore: update tx controller v13 patch notes +- [#9661](https://github.com/MetaMask/metamask-mobile/pull/9661): feat: smart-tx opt in modal 2 +- [#9448](https://github.com/MetaMask/metamask-mobile/pull/9448): feat: smart tx small views +- [#9656](https://github.com/MetaMask/metamask-mobile/pull/9656): fix: Fix/1723 broken sign verification +- [#9618](https://github.com/MetaMask/metamask-mobile/pull/9618): fix: upgrade react-redux to support react 18; bump redux packages +- [#9657](https://github.com/MetaMask/metamask-mobile/pull/9657): chore: Update boost checksum +- [#9394](https://github.com/MetaMask/metamask-mobile/pull/9394): feat: Network & Gas & Assets & Utils controllers update +- [#9616](https://github.com/MetaMask/metamask-mobile/pull/9616): fix: fix the issue 9560 which QR code accounts has been reappeared aftter user `remove wallets` +- [#9625](https://github.com/MetaMask/metamask-mobile/pull/9625): feat: Update signature controller v13 +- [#9619](https://github.com/MetaMask/metamask-mobile/pull/9619): chore(deps): remove unused react-native-v8 +- [#9633](https://github.com/MetaMask/metamask-mobile/pull/9633): feat: fix wait function not returning properly +- [#9442](https://github.com/MetaMask/metamask-mobile/pull/9442): feat: smart-tx-small-logic +- [#9428](https://github.com/MetaMask/metamask-mobile/pull/9428): New Crowdin translations by Github Action +- [#9204](https://github.com/MetaMask/metamask-mobile/pull/9204): feat: Add new privacy policy alert toast +- [#9629](https://github.com/MetaMask/metamask-mobile/pull/9629): chore: apply string changes from #9565 +- [#9599](https://github.com/MetaMask/metamask-mobile/pull/9599): chore: update Encryptor CODEOWNER to Accounts Team +- [#9614](https://github.com/MetaMask/metamask-mobile/pull/9614): fix: migrations key numbers +- [#9572](https://github.com/MetaMask/metamask-mobile/pull/9572): feat: notifications onboarding wizard - [8 of 10] +- [#9612](https://github.com/MetaMask/metamask-mobile/pull/9612): revert: feat(swaps): enable Base for swaps (#9286) +- [#9609](https://github.com/MetaMask/metamask-mobile/pull/9609): chore: add deprecated tag to the websiteicon component +- [#9611](https://github.com/MetaMask/metamask-mobile/pull/9611): fix: Fix/9345 bitrise cache failure ## 7.22.0 - Apr 25, 2024 ### Added diff --git a/android/app/build.gradle b/android/app/build.gradle index 1bea9603f3b..a3acb26a493 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -181,8 +181,8 @@ android { applicationId "io.metamask" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 1325 - versionName "7.22.0" + versionCode 1334 + versionName "7.24.0" testBuildType System.getProperty('testBuildType', 'debug') missingDimensionStrategy 'react-native-camera', 'general' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/bitrise.yml b/bitrise.yml index 675b235fa01..156c4878cf7 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -427,8 +427,8 @@ workflows: machine_type_id: elite-xl envs: - PRODUCTION_APP_URL: 'bs://3f81fdb66cba8140909d1ff0a05bc2ace97b307f' # Last production's QA build - - PRODUCTION_BUILD_VERSION_NAME: 7.20.0 - - PRODUCTION_BUILD_VERSION_NUMBER: 1308 + - PRODUCTION_BUILD_VERSION_NAME: 7.24.0 + - PRODUCTION_BUILD_VERSION_NUMBER: 1334 - CUCUMBER_TAG_EXPRESSION: '@upgrade and @androidApp' - PRODUCTION_BUILD_STRING: 'MetaMask-QA v$PRODUCTION_BUILD_VERSION_NAME ($PRODUCTION_BUILD_VERSION_NUMBER)' - NEW_BUILD_STRING: 'MetaMask-QA v$VERSION_NAME ($VERSION_NUMBER)' @@ -1344,16 +1344,16 @@ app: PROJECT_LOCATION_IOS: ios - opts: is_expand: false - VERSION_NAME: 7.22.0 + VERSION_NAME: 7.24.0 - opts: is_expand: false - VERSION_NUMBER: 1325 + VERSION_NUMBER: 1334 - opts: is_expand: false - FLASK_VERSION_NAME: 7.22.0 + FLASK_VERSION_NAME: 7.24.0 - opts: is_expand: false - FLASK_VERSION_NUMBER: 1325 + FLASK_VERSION_NUMBER: 1334 - opts: is_expand: false ANDROID_APK_LINK: '' diff --git a/ios/MetaMask.xcodeproj/project.pbxproj b/ios/MetaMask.xcodeproj/project.pbxproj index eaca3f23aee..358d29077f3 100644 --- a/ios/MetaMask.xcodeproj/project.pbxproj +++ b/ios/MetaMask.xcodeproj/project.pbxproj @@ -1207,7 +1207,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMaskDebug.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 48XVW22RCG; @@ -1244,7 +1244,7 @@ "${inherited}", ); LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = ( @@ -1272,7 +1272,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMask.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 48XVW22RCG; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 48XVW22RCG; @@ -1307,7 +1307,7 @@ "${inherited}", ); LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = NO; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = ( @@ -1335,7 +1335,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMaskDebug.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 48XVW22RCG; @@ -1368,7 +1368,7 @@ ); LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)"; LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = ( @@ -1396,7 +1396,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMask.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 48XVW22RCG; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 48XVW22RCG; @@ -1427,7 +1427,7 @@ ); LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift$(inherited)"; LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = NO; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = ( @@ -1546,7 +1546,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMaskDebug.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 48XVW22RCG; @@ -1583,7 +1583,7 @@ "\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"", ); LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = ( "$(inherited)", @@ -1614,7 +1614,7 @@ CODE_SIGN_ENTITLEMENTS = MetaMask/MetaMask.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1325; + CURRENT_PROJECT_VERSION = 1334; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = 48XVW22RCG; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 48XVW22RCG; @@ -1649,7 +1649,7 @@ "\"$(SRCROOT)/MetaMask/System/Library/Frameworks\"", ); LLVM_LTO = YES; - MARKETING_VERSION = 7.22.0; + MARKETING_VERSION = 7.24.0; ONLY_ACTIVE_ARCH = NO; OTHER_CFLAGS = ( "$(inherited)", diff --git a/package.json b/package.json index 126de2e6eab..30b25b64839 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metamask", - "version": "7.22.0", + "version": "7.24.0", "private": true, "scripts": { "audit:ci": "./scripts/yarn-audit.sh", From edee6ef6e4ab6bd2a5776a2332bc3bd2d212f8f7 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Wed, 29 May 2024 12:06:08 -0600 Subject: [PATCH 02/42] updated changelog --- CHANGELOG.md | 127 ++++++++++++++++++++++++++------------------------- 1 file changed, 65 insertions(+), 62 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21b9b9fe0e7..8a7bd3dc93e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,68 +1,71 @@ # Changelog ## Current Main Branch -- [#9787](https://github.com/MetaMask/metamask-mobile/pull/9787): fix: revert use of sponge not available in actions Ubuntu image -- [#9780](https://github.com/MetaMask/metamask-mobile/pull/9780): fix: make version setting script work with both main and flask -- [#9735](https://github.com/MetaMask/metamask-mobile/pull/9735): chore: add swaps team to swaps domain folder -- [#9637](https://github.com/MetaMask/metamask-mobile/pull/9637): chore: bump SES -- [#9721](https://github.com/MetaMask/metamask-mobile/pull/9721): fix: App slower when changing account and switching network -- [#9753](https://github.com/MetaMask/metamask-mobile/pull/9753): chore: Chore/optimize Wallet screen re-renders -- [#9775](https://github.com/MetaMask/metamask-mobile/pull/9775): fix: Update boost checksum -- [#9771](https://github.com/MetaMask/metamask-mobile/pull/9771): chore: align main and flask build numbers -- [#9767](https://github.com/MetaMask/metamask-mobile/pull/9767): feat: push Privacy policy date to 2024 Jun 18 12:00 UTC -- [#9772](https://github.com/MetaMask/metamask-mobile/pull/9772): fix: Fix/ruby install -- [#9774](https://github.com/MetaMask/metamask-mobile/pull/9774): fix: unit tests -- [#9129](https://github.com/MetaMask/metamask-mobile/pull/9129): feat: setting to show fiat values on testnets -- [#9682](https://github.com/MetaMask/metamask-mobile/pull/9682): fix: update base nickname -- [#9686](https://github.com/MetaMask/metamask-mobile/pull/9686): fix: update sepolia nickname -- [#9742](https://github.com/MetaMask/metamask-mobile/pull/9742): fix: Selecting custom ethereum mainnet on fresh install -- [#9764](https://github.com/MetaMask/metamask-mobile/pull/9764): fix: selectSelectedInternalAccount: Account with ID not found -- [#9683](https://github.com/MetaMask/metamask-mobile/pull/9683): refactor: the network name and image utils into selectors -- [#9706](https://github.com/MetaMask/metamask-mobile/pull/9706): fix: QR scanner crash when user dismisses camera view in web view -- [#9751](https://github.com/MetaMask/metamask-mobile/pull/9751): test: disable flakey test -- [#9639](https://github.com/MetaMask/metamask-mobile/pull/9639): chore: New Crowdin translations by Github Action -- [#9734](https://github.com/MetaMask/metamask-mobile/pull/9734): test: Added swap ERC20->ETH test case -- [#9740](https://github.com/MetaMask/metamask-mobile/pull/9740): feat: Update checkbox to be able to override checkbox style -- [#9733](https://github.com/MetaMask/metamask-mobile/pull/9733): fix: Fix/9662 account section disappears -- [#9708](https://github.com/MetaMask/metamask-mobile/pull/9708): test: add send to saved contact e2e test -- [#9707](https://github.com/MetaMask/metamask-mobile/pull/9707): feat: adds strings for the opt in toggles -- [#9725](https://github.com/MetaMask/metamask-mobile/pull/9725): chore: make test code dev env only -- [#9574](https://github.com/MetaMask/metamask-mobile/pull/9574): chore: update confirmations codeowners -- [#9712](https://github.com/MetaMask/metamask-mobile/pull/9712): chore: remove unnecessary patch imports and change the patch branch name -- [#9720](https://github.com/MetaMask/metamask-mobile/pull/9720): fix: in send flow, adding space at end of ENS address caused crash -- [#9651](https://github.com/MetaMask/metamask-mobile/pull/9651): feat: Upgrade signature Controller to v14 -- [#9690](https://github.com/MetaMask/metamask-mobile/pull/9690): test: Address App launch times failure test -- [#9699](https://github.com/MetaMask/metamask-mobile/pull/9699): fix: Move permission middleware to be later than rpc method middleware -- [#9301](https://github.com/MetaMask/metamask-mobile/pull/9301): Fix/flaky tests issues template skip 2 -- [#9640](https://github.com/MetaMask/metamask-mobile/pull/9640): chore: Update base controller v5, logging controller v3, permission controll… -- [#9696](https://github.com/MetaMask/metamask-mobile/pull/9696): fix(devDeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 -- [#9685](https://github.com/MetaMask/metamask-mobile/pull/9685): fix(deps): @metamask/eth-sig-util@^4.0.1->^7.0.2 -- [#9694](https://github.com/MetaMask/metamask-mobile/pull/9694): test: send flow page object refactor -- [#9568](https://github.com/MetaMask/metamask-mobile/pull/9568): fix: 9559 issue android json parse -- [#9346](https://github.com/MetaMask/metamask-mobile/pull/9346): feat: notifications LIST screen UI - [9 of 10] -- [#9658](https://github.com/MetaMask/metamask-mobile/pull/9658): chore: Upgrade react-native-svg to 15.3 -- [#9680](https://github.com/MetaMask/metamask-mobile/pull/9680): fix: Increase waiting for swaps and switch account on E2E -- [#9663](https://github.com/MetaMask/metamask-mobile/pull/9663): chore: update tx controller v13 patch notes -- [#9661](https://github.com/MetaMask/metamask-mobile/pull/9661): feat: smart-tx opt in modal 2 -- [#9448](https://github.com/MetaMask/metamask-mobile/pull/9448): feat: smart tx small views -- [#9656](https://github.com/MetaMask/metamask-mobile/pull/9656): fix: Fix/1723 broken sign verification -- [#9618](https://github.com/MetaMask/metamask-mobile/pull/9618): fix: upgrade react-redux to support react 18; bump redux packages -- [#9657](https://github.com/MetaMask/metamask-mobile/pull/9657): chore: Update boost checksum -- [#9394](https://github.com/MetaMask/metamask-mobile/pull/9394): feat: Network & Gas & Assets & Utils controllers update -- [#9616](https://github.com/MetaMask/metamask-mobile/pull/9616): fix: fix the issue 9560 which QR code accounts has been reappeared aftter user `remove wallets` -- [#9625](https://github.com/MetaMask/metamask-mobile/pull/9625): feat: Update signature controller v13 -- [#9619](https://github.com/MetaMask/metamask-mobile/pull/9619): chore(deps): remove unused react-native-v8 -- [#9633](https://github.com/MetaMask/metamask-mobile/pull/9633): feat: fix wait function not returning properly -- [#9442](https://github.com/MetaMask/metamask-mobile/pull/9442): feat: smart-tx-small-logic -- [#9428](https://github.com/MetaMask/metamask-mobile/pull/9428): New Crowdin translations by Github Action -- [#9204](https://github.com/MetaMask/metamask-mobile/pull/9204): feat: Add new privacy policy alert toast -- [#9629](https://github.com/MetaMask/metamask-mobile/pull/9629): chore: apply string changes from #9565 -- [#9599](https://github.com/MetaMask/metamask-mobile/pull/9599): chore: update Encryptor CODEOWNER to Accounts Team -- [#9614](https://github.com/MetaMask/metamask-mobile/pull/9614): fix: migrations key numbers -- [#9572](https://github.com/MetaMask/metamask-mobile/pull/9572): feat: notifications onboarding wizard - [8 of 10] -- [#9612](https://github.com/MetaMask/metamask-mobile/pull/9612): revert: feat(swaps): enable Base for swaps (#9286) -- [#9609](https://github.com/MetaMask/metamask-mobile/pull/9609): chore: add deprecated tag to the websiteicon component -- [#9611](https://github.com/MetaMask/metamask-mobile/pull/9611): fix: Fix/9345 bitrise cache failure + +## 7.24.0 - May 29, 2024 +### Added +- [#9767](https://github.com/MetaMask/metamask-mobile/pull/9767): feat: push Privacy policy date to 2024 Jun 18 12:00 UTC (#9767) +- [#9707](https://github.com/MetaMask/metamask-mobile/pull/9707): feat: adds strings for the opt in toggles (#9707) +- [#9661](https://github.com/MetaMask/metamask-mobile/pull/9661): feat: smart-tx opt in modal 2 (#9661) +- [#9448](https://github.com/MetaMask/metamask-mobile/pull/9448): feat: smart tx small views (#9448) +- [#9442](https://github.com/MetaMask/metamask-mobile/pull/9442): feat: smart-tx-small-logic (#9442) +- [#9204](https://github.com/MetaMask/metamask-mobile/pull/9204): feat: Add new privacy policy alert toast (#9204) +- [#9651](https://github.com/MetaMask/metamask-mobile/pull/9651): feat: Upgrade signature Controller to v14 (#9651) +- [#9394](https://github.com/MetaMask/metamask-mobile/pull/9394): feat: Network & Gas & Assets & Utils controllers update (#9394) +- [#9625](https://github.com/MetaMask/metamask-mobile/pull/9625): feat: Update signature controller v13 (#9625) +- [#9129](https://github.com/MetaMask/metamask-mobile/pull/9129): feat: setting to show fiat values on testnets (#9129) +- [#9740](https://github.com/MetaMask/metamask-mobile/pull/9740): feat: Update checkbox to be able to override checkbox style (#9740) +- [#9346](https://github.com/MetaMask/metamask-mobile/pull/9346): feat: notifications LIST screen UI - [9 of 10] (#9346) +- [#9572](https://github.com/MetaMask/metamask-mobile/pull/9572): feat: notifications onboarding wizard - [8 of 10] (#9572) + +### Changed +- [#9612](https://github.com/MetaMask/metamask-mobile/pull/9612): revert: feat(swaps): enable Base for swaps (#9286) (#9612) +- [#9735](https://github.com/MetaMask/metamask-mobile/pull/9735): chore: add swaps team to swaps domain folder (#9735) +- [#9683](https://github.com/MetaMask/metamask-mobile/pull/9683): refactor: the network name and image utils into selectors (#9683) +- [#9639](https://github.com/MetaMask/metamask-mobile/pull/9639): chore: New Crowdin translations by Github Action (#9639) +- [#9725](https://github.com/MetaMask/metamask-mobile/pull/9725): chore: make test code dev env only (#9725) +- [#9574](https://github.com/MetaMask/metamask-mobile/pull/9574): chore: update confirmations codeowners (#9574) +- [#9663](https://github.com/MetaMask/metamask-mobile/pull/9663): chore: update tx controller v13 patch notes (#9663) +- [#9629](https://github.com/MetaMask/metamask-mobile/pull/9629): chore: apply string changes from #9565 (#9629) +- [#9753](https://github.com/MetaMask/metamask-mobile/pull/9753): chore: Chore/optimize Wallet screen re-renders (#9753) +- [#9771](https://github.com/MetaMask/metamask-mobile/pull/9771): chore: align main and flask build numbers (#9771) +- [#9751](https://github.com/MetaMask/metamask-mobile/pull/9751): test: disable flakey test (#9751) +- [#9708](https://github.com/MetaMask/metamask-mobile/pull/9708): test: add send to saved contact e2e test (#9708) +- [#9690](https://github.com/MetaMask/metamask-mobile/pull/9690): test: Address App launch times failure test (#9690) +- [#9694](https://github.com/MetaMask/metamask-mobile/pull/9694): test: send flow page object refactor (#9694) +- [#9658](https://github.com/MetaMask/metamask-mobile/pull/9658): chore: Upgrade react-native-svg to 15.3 (#9658) +- [#9657](https://github.com/MetaMask/metamask-mobile/pull/9657): chore: Update boost checksum (#9657) +- [#9609](https://github.com/MetaMask/metamask-mobile/pull/9609): chore: add deprecated tag to the websiteicon component (#9609) +- [#9619](https://github.com/MetaMask/metamask-mobile/pull/9619): chore(deps): remove unused react-native-v8 (#9619) +- [#9599](https://github.com/MetaMask/metamask-mobile/pull/9599): chore: update Encryptor CODEOWNER to Accounts Team (#9599) +- [#9734](https://github.com/MetaMask/metamask-mobile/pull/9734): test: Added swap ERC20->ETH test case (#9734) +- [#9712](https://github.com/MetaMask/metamask-mobile/pull/9712): chore: remove unnecessary patch imports and change the patch branch name (#9712) + +### Fixed +- [#9301](https://github.com/MetaMask/metamask-mobile/pull/9301): fix: flaky tests issues template skip 2 (#9301) +- [#9774](https://github.com/MetaMask/metamask-mobile/pull/9774): fix: unit tests (#9774) +- [#9706](https://github.com/MetaMask/metamask-mobile/pull/9706): fix: QR scanner crash when user dismisses camera view in web view (#9706) +- [#9787](https://github.com/MetaMask/metamask-mobile/pull/9787): fix: revert use of sponge not available in actions Ubuntu image (#9787) +- [#9780](https://github.com/MetaMask/metamask-mobile/pull/9780): fix: make version setting script work with both main and flask (#9780) +- [#9721](https://github.com/MetaMask/metamask-mobile/pull/9721): fix: App slower when changing account and switching network (#9721) +- [#9775](https://github.com/MetaMask/metamask-mobile/pull/9775): fix: Update boost checksum (#9775) +- [#9772](https://github.com/MetaMask/metamask-mobile/pull/9772): fix: Fix/ruby install (#9772) +- [#9773](https://github.com/MetaMask/metamask-mobile/pull/9773): fix: e2e builds (#9773) +- [#9742](https://github.com/MetaMask/metamask-mobile/pull/9742): fix: Selecting custom ethereum mainnet on fresh install (#9742) +- [#9733](https://github.com/MetaMask/metamask-mobile/pull/9733): fix: Fix/9662 account section disappears (#9733) +- [#9699](https://github.com/MetaMask/metamask-mobile/pull/9699): fix: Move permission middleware to be later than rpc method middleware (#9699) +- [#9680](https://github.com/MetaMask/metamask-mobile/pull/9680): fix: Increase waiting for swaps and switch account on E2E (#9680) +- [#9656](https://github.com/MetaMask/metamask-mobile/pull/9656): fix: Fix/1723 broken sign verification (#9656) +- [#9630](https://github.com/MetaMask/metamask-mobile/pull/9630): fix: Fix/rn svg pod files (#9630) +- [#9614](https://github.com/MetaMask/metamask-mobile/pull/9614): fix: migrations key numbers (#9614) +- [#9611](https://github.com/MetaMask/metamask-mobile/pull/9611): fix: Fix/9345 bitrise cache failure (#9611) +- [#9696](https://github.com/MetaMask/metamask-mobile/pull/9696): fix(devDeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 (#9696) +- [#9685](https://github.com/MetaMask/metamask-mobile/pull/9685): fix(deps): @metamask/eth-sig-util@^4.0.1->^7.0.2 (#9685) +- [#9682](https://github.com/MetaMask/metamask-mobile/pull/9682): fix: update base nickname (#9682) +- [#9686](https://github.com/MetaMask/metamask-mobile/pull/9686): fix: update sepolia nickname (#9686) +- [#9764](https://github.com/MetaMask/metamask-mobile/pull/9764): fix: selectSelectedInternalAccount: Account with ID not found (#9764) +- [#9568](https://github.com/MetaMask/metamask-mobile/pull/9568): fix: 9559 issue android json parse (#9568) +- [#9616](https://github.com/MetaMask/metamask-mobile/pull/9616): fix: fix the issue 9560 which QR code accounts has been reappeared aftter user `remove wallets` (#9616) ## 7.22.0 - Apr 25, 2024 ### Added From 083fac492bceb2571fd1a048b2683ff86c252c1b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 12:19:41 -0700 Subject: [PATCH 03/42] chore: cherry-pick #9781 (#9806) This PR cherry-picks #9781 Co-authored-by: hesterbruikman Co-authored-by: EtherWizard33 Co-authored-by: EtherWizard33 <165834542+EtherWizard33@users.noreply.github.com> --- .../BasicFunctionality/BasicFunctionality.tsx | 11 ++++++++++- .../BasicFunctionality.test.js.snap | 19 ++++++++++++++++++- .../__snapshots__/index.test.js.snap | 19 ++++++++++++++++++- .../SecuritySettings.test.tsx.snap | 19 ++++++++++++++++++- locales/languages/en.json | 5 +++-- 5 files changed, 67 insertions(+), 6 deletions(-) diff --git a/app/components/UI/BasicFunctionality/BasicFunctionality.tsx b/app/components/UI/BasicFunctionality/BasicFunctionality.tsx index 206ccc33ba9..29a2753a8e1 100644 --- a/app/components/UI/BasicFunctionality/BasicFunctionality.tsx +++ b/app/components/UI/BasicFunctionality/BasicFunctionality.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { View, Switch } from 'react-native'; +import { View, Switch, Linking } from 'react-native'; import Text, { TextVariant, TextColor, @@ -10,6 +10,7 @@ import { useSelector } from 'react-redux'; import { RootState } from '../../../../app/reducers'; import styles from './BasicFunctionality.styles'; import { BasicFunctionalityComponentProps } from './BasicFunctionality.types'; +import AppConstants from '../../../core/AppConstants'; export default function BasicFunctionalityComponent({ handleSwitchToggle, @@ -20,6 +21,10 @@ export default function BasicFunctionalityComponent({ (state: RootState) => state?.settings?.basicFunctionalityEnabled, ); + const handleLink = () => { + Linking.openURL(AppConstants.URLS.PRIVACY_POLICY_2024); + }; + return ( @@ -39,6 +44,10 @@ export default function BasicFunctionalityComponent({ {strings('default_settings.functionality_body')} + + {strings('default_settings.privacy_policy')} + + {strings('default_settings.functionality_body2')} ); diff --git a/app/components/UI/BasicFunctionality/__snapshots__/BasicFunctionality.test.js.snap b/app/components/UI/BasicFunctionality/__snapshots__/BasicFunctionality.test.js.snap index 01d7a755d93..4ee4c428d13 100644 --- a/app/components/UI/BasicFunctionality/__snapshots__/BasicFunctionality.test.js.snap +++ b/app/components/UI/BasicFunctionality/__snapshots__/BasicFunctionality.test.js.snap @@ -69,7 +69,24 @@ exports[`BasicFunctionality should render correctly 1`] = ` } } > - Includes token data and value, optimal gas settings, security updates, and more. Using these services shares your IP address with MetaMask, just like when you visit a website. + MetaMask offers basic features like token details and gas settings through internet services. When you use internet services, your IP address is shared, in this case with MetaMask. This is just like when you visit any website. MetaMask uses this data temporarily and never sells your data. You can use a VPN or turn off these services, but it may affect your MetaMask experience. Read our + + Privacy policy + + to learn more. `; diff --git a/app/components/Views/OnboardingSuccess/DefaultSettings/__snapshots__/index.test.js.snap b/app/components/Views/OnboardingSuccess/DefaultSettings/__snapshots__/index.test.js.snap index 4ce40874e4c..fd850b59e24 100644 --- a/app/components/Views/OnboardingSuccess/DefaultSettings/__snapshots__/index.test.js.snap +++ b/app/components/Views/OnboardingSuccess/DefaultSettings/__snapshots__/index.test.js.snap @@ -111,7 +111,24 @@ exports[`DefaultSettings should render correctly 1`] = ` } } > - Includes token data and value, optimal gas settings, security updates, and more. Using these services shares your IP address with MetaMask, just like when you visit a website. + MetaMask offers basic features like token details and gas settings through internet services. When you use internet services, your IP address is shared, in this case with MetaMask. This is just like when you visit any website. MetaMask uses this data temporarily and never sells your data. You can use a VPN or turn off these services, but it may affect your MetaMask experience. Read our + + Privacy policy + + to learn more. - Includes token data and value, optimal gas settings, security updates, and more. Using these services shares your IP address with MetaMask, just like when you visit a website. + MetaMask offers basic features like token details and gas settings through internet services. When you use internet services, your IP address is shared, in this case with MetaMask. This is just like when you visit any website. MetaMask uses this data temporarily and never sells your data. You can use a VPN or turn off these services, but it may affect your MetaMask experience. Read our + + Privacy policy + + to learn more. diff --git a/locales/languages/en.json b/locales/languages/en.json index c3824f941a5..43870b3ce52 100644 --- a/locales/languages/en.json +++ b/locales/languages/en.json @@ -3031,7 +3031,8 @@ "manage_networks": "Manage networks", "manage_networks_body": "We use Infura as our remote procedure call (RPC) provider to offer the most reliable and private access to Ethereum data we can. You can choose your own RPC, but remember that any RPC will receive your IP address and Ethereum wallet to make transactions. Read our ", "manage_networks_body2": " to learn more about how Infura handles data.", - "functionality_body": "Includes token data and value, optimal gas settings, security updates, and more. Using these services shares your IP address with MetaMask, just like when you visit a website.", + "functionality_body": "MetaMask offers basic features like token details and gas settings through internet services. When you use internet services, your IP address is shared, in this case with MetaMask. This is just like when you visit any website. MetaMask uses this data temporarily and never sells your data. You can use a VPN or turn off these services, but it may affect your MetaMask experience. Read our ", + "functionality_body2": " to learn more.", "sheet": { "title_off": "Turn off basic functionality", "description_off": "This means you won't fully optimize your time on MetaMask. Basic features (like token details, optimal gas settings, and others) won't be available to you.", @@ -3045,4 +3046,4 @@ } } } -} \ No newline at end of file +} From 6e6495f33035b72c1ce154b6c4ad41a6127fbc83 Mon Sep 17 00:00:00 2001 From: sethkfman <10342624+sethkfman@users.noreply.github.com> Date: Thu, 30 May 2024 18:09:08 -0600 Subject: [PATCH 04/42] chore: merge 7.23.0 tag (#9809) This PR merges the 7.23.0 tag changes into the 7.24.0 --- CHANGELOG.md | 81 +++++++++++++++++++ .../hooks/useAccounts/useAccounts.ts | 1 + 2 files changed, 82 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a7bd3dc93e..5c8b87ce667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,87 @@ - [#9568](https://github.com/MetaMask/metamask-mobile/pull/9568): fix: 9559 issue android json parse (#9568) - [#9616](https://github.com/MetaMask/metamask-mobile/pull/9616): fix: fix the issue 9560 which QR code accounts has been reappeared aftter user `remove wallets` (#9616) +## 7.23.0 - May 10, 2024 +### Added +- [#9595](https://github.com/MetaMask/metamask-mobile/pull/9595): feat: Upgrade to react-native-svg to 15.2.0 (#9595) +- [#9305](https://github.com/MetaMask/metamask-mobile/pull/9305): feat: Update SignatureController v6.1.3 + LoggingController v2.0.0 (#9305) +- [#9546](https://github.com/MetaMask/metamask-mobile/pull/9546): feat: fix logs for 1709 (#9546) +- [#9504](https://github.com/MetaMask/metamask-mobile/pull/9504): feat: Log the validity of keyringController in EngineService for initialisation and update (#9504) +- [#9288](https://github.com/MetaMask/metamask-mobile/pull/9288): feat: Update assets controller to v^18 (#9288) +- [#9286](https://github.com/MetaMask/metamask-mobile/pull/9286): feat(swaps): enable Base for swaps (#9286) +- [#9495](https://github.com/MetaMask/metamask-mobile/pull/9495): feat: url bar no longer shown in the tab thumnail list view (#9495) +- [#9474](https://github.com/MetaMask/metamask-mobile/pull/9474): feat: add localizations for the browser tab (#9474) +- [#9435](https://github.com/MetaMask/metamask-mobile/pull/9435): feat: sdk async persistence and protocol upgrade (#9435) +- [#9119](https://github.com/MetaMask/metamask-mobile/pull/9119): feat(ramp): add activation keys labels and DS components (#9119) +- [#9372](https://github.com/MetaMask/metamask-mobile/pull/9372): feat: Add `useTokenListName` hook for `Name` component (#9372) +- [#9407](https://github.com/MetaMask/metamask-mobile/pull/9407): feat: Add `useFirstPartyContractName` hook (#9407) +- [#9379](https://github.com/MetaMask/metamask-mobile/pull/9379): feat: create basic Name component for simulations (#9379) +- [#9547](https://github.com/MetaMask/metamask-mobile/pull/9547): feat: OS to Reservoir migration (#9547) +- [#9431](https://github.com/MetaMask/metamask-mobile/pull/9431): feat: add palm to popular network (#9431) +- [#9508](https://github.com/MetaMask/metamask-mobile/pull/9508): feat: bump controllers related accounts logic (#9508) +- [#8827](https://github.com/MetaMask/metamask-mobile/pull/8827): feat: preinstalled mobile snaps (#8827) +- [#9392](https://github.com/MetaMask/metamask-mobile/pull/9392): feat: notifications onboarding wizard (#9392) +- [#9450](https://github.com/MetaMask/metamask-mobile/pull/9450): feat: added TagBase component (#9450) +- [#9401](https://github.com/MetaMask/metamask-mobile/pull/9401): feat: updated styling in badgenetwork (#9401) + +### Changed +- [#9571](https://github.com/MetaMask/metamask-mobile/pull/9571): chore: revert feat: notifications onboarding wizard (#9392) (#9571) +- [#9610](https://github.com/MetaMask/metamask-mobile/pull/9610): test: Fix flakiness caused by the notification permission dialog which caused confirmation test flakiness (#9610) +- [#9577](https://github.com/MetaMask/metamask-mobile/pull/9577): chore: Chore/1742 remove vault recreation log in (#9577) +- [#9576](https://github.com/MetaMask/metamask-mobile/pull/9576): chore: Update migrations with Fatal Errors (#9576) +- [#9529](https://github.com/MetaMask/metamask-mobile/pull/9529): test: Refactor browser and testdapp page objects (#9529) +- [#9231](https://github.com/MetaMask/metamask-mobile/pull/9231): chore: ensure gemfile versions (#9231) +- [#9502](https://github.com/MetaMask/metamask-mobile/pull/9502): test: add edit custom mainnet scenario (#9502) +- [#9088](https://github.com/MetaMask/metamask-mobile/pull/9088): chore: Update TransactionController to v13 and ApprovalController to v3.5.2 (#9088) +- [#9430](https://github.com/MetaMask/metamask-mobile/pull/9430): test: Add timeouts to Detox builds/tests worflows (#9430) +- [#9264](https://github.com/MetaMask/metamask-mobile/pull/9264): chore: Force appium drivers to use @xmldom/xmldom@0.7.13 (#9264) +- [#9501](https://github.com/MetaMask/metamask-mobile/pull/9501): "chore: Revert ""chore: Remove notify step from pr_e2e_smoke_pipeline"" (#9501)" +- [#9500](https://github.com/MetaMask/metamask-mobile/pull/9500): chore: Remove notify step from pr_e2e_smoke_pipeline (#9500) +- [#9460](https://github.com/MetaMask/metamask-mobile/pull/9460): "chore: Revert ""chore(iyarc): remove resolved audit advisory (#9455)"" (#9460)" +- [#9420](https://github.com/MetaMask/metamask-mobile/pull/9420): test: move NFT import test to quarantine folder (#9420) +- [#9413](https://github.com/MetaMask/metamask-mobile/pull/9413): test: fix flakey E2E tests (#9413) +- [#9415](https://github.com/MetaMask/metamask-mobile/pull/9415): refactor(ramp): transform aggregator network chain id to string (#9415) +- [#8138](https://github.com/MetaMask/metamask-mobile/pull/8138): test(ramp): add useActivationKeys hook test (#8138) +- [#9011](https://github.com/MetaMask/metamask-mobile/pull/9011): refactor(ramp): use statusDescription in order details (#9011) +- [#9203](https://github.com/MetaMask/metamask-mobile/pull/9203): refactor(encryptor): align Encryptor methods to match @metamask/browser-passworder (#9203) +- [#9503](https://github.com/MetaMask/metamask-mobile/pull/9503): chore: upgrade nodejs to v20 LTS (#9503) +- [#9371](https://github.com/MetaMask/metamask-mobile/pull/9371): chore: remove unecessary conditional (#9371) +- [#9484](https://github.com/MetaMask/metamask-mobile/pull/9484): chore(devDeps): @actions/github@^5.1.1->^6.0.0 (#9484) +- [#9454](https://github.com/MetaMask/metamask-mobile/pull/9454): chore: Update Jest to v29 (#9454) +- [#9475](https://github.com/MetaMask/metamask-mobile/pull/9475): chore: Fix handling of generated ppom files (#9475) +- [#9388](https://github.com/MetaMask/metamask-mobile/pull/9388): chore: initial *.metafi and *.metaswap URL migrations (#9388) +- [#9455](https://github.com/MetaMask/metamask-mobile/pull/9455): chore(iyarc): remove resolved audit advisory (#9455) +- [#8557](https://github.com/MetaMask/metamask-mobile/pull/8557): chore: remove unused @metamask/oss-attribution-generator (#8557) + +### Fixed +- [#9525](https://github.com/MetaMask/metamask-mobile/pull/9525): fix: fix regression tests (#9525) +- [#9411](https://github.com/MetaMask/metamask-mobile/pull/9411): fix: refactor mechanism for sending analytics events (#9411) +- [#9575](https://github.com/MetaMask/metamask-mobile/pull/9575): fix: Add missing wallet_addEthereumChain to unrestricted list (#9575) +- [#9521](https://github.com/MetaMask/metamask-mobile/pull/9521): fix: Fix/1723 add permission middleware (#9521) +- [#9514](https://github.com/MetaMask/metamask-mobile/pull/9514): fix: Opensea Popup (#9514) +- [#9412](https://github.com/MetaMask/metamask-mobile/pull/9412): fix: revert siwe and apg resolution (#9412) +- [#9597](https://github.com/MetaMask/metamask-mobile/pull/9597): fix: permission-controller to include minor updates (#9597) +- [#9527](https://github.com/MetaMask/metamask-mobile/pull/9527): fix: upgrade permission-controller to 8.0.0 (#9527) +- [#9538](https://github.com/MetaMask/metamask-mobile/pull/9538): fix: cp url fix (#9538) +- [#9489](https://github.com/MetaMask/metamask-mobile/pull/9489): fix: adjust UI and Cancel ability on Basic Functionality flow (#9489) +- [#9498](https://github.com/MetaMask/metamask-mobile/pull/9498): fix(translations): Trying to account for updated translations in main for crowdin (#9498) +- [#9494](https://github.com/MetaMask/metamask-mobile/pull/9494): fix(translations): Attempting to reduce additional translations (#9494) +- [#9569](https://github.com/MetaMask/metamask-mobile/pull/9569): fix: deeplink invalid error when importing privateKey via qr (#9569) +- [#9347](https://github.com/MetaMask/metamask-mobile/pull/9347): fix: documentation link in storybook.md (#9347) +- [#9456](https://github.com/MetaMask/metamask-mobile/pull/9456): fix: fix sentry error when adding network (#9456) +- [#9177](https://github.com/MetaMask/metamask-mobile/pull/9177): fix: add symbol check on network add custom form (#9177) +- [#9566](https://github.com/MetaMask/metamask-mobile/pull/9566): fix: Fix Engine context types (#9566) +- [#9453](https://github.com/MetaMask/metamask-mobile/pull/9453): fix: include blockaid parameters in metrics of send flow (#9453) +- [#9340](https://github.com/MetaMask/metamask-mobile/pull/9340): fix: update blockaid setting section and align with extension (#9340) +- [#9539](https://github.com/MetaMask/metamask-mobile/pull/9539): fix: disable notifee badges (#9539) +- [#9436](https://github.com/MetaMask/metamask-mobile/pull/9436): fix: notification settings state bug (#9436) +- [#9543](https://github.com/MetaMask/metamask-mobile/pull/9543): fix: IPHONEOS_DEPLOYMENT_TARGET: 11 -> 12 (#9543) +- [#9523](https://github.com/MetaMask/metamask-mobile/pull/9523): fix: migrate from git-reffed react-native-search-api to @metamask/react-native-search-api (#9523) +- [#9522](https://github.com/MetaMask/metamask-mobile/pull/9522): fix: migrate from patched react-native-actionsheet to @metamask/react-native-actionsheet (#9522) +- [#9483](https://github.com/MetaMask/metamask-mobile/pull/9483): fix: migrate from patched @exodus/react-native-payments to @metamask/react-native-payments (#9483) +- [#9482](https://github.com/MetaMask/metamask-mobile/pull/9482): fix: remove resolution react-native-svg-asset-plugin/sharp@^0.30.5 (#9482) +- [#9143](https://github.com/MetaMask/metamask-mobile/pull/9143): fix: Yarn 1.22.22 (#9143) + ## 7.22.0 - Apr 25, 2024 ### Added - [#9329](https://github.com/MetaMask/metamask-mobile/pull/9329): feat: Added log to capture failing exception for getItem (#9329) diff --git a/app/components/hooks/useAccounts/useAccounts.ts b/app/components/hooks/useAccounts/useAccounts.ts index a35df6c3b1e..b3f02c2eccf 100644 --- a/app/components/hooks/useAccounts/useAccounts.ts +++ b/app/components/hooks/useAccounts/useAccounts.ts @@ -190,6 +190,7 @@ const useAccounts = ({ ]); useEffect(() => { + // eslint-disable-next-line if (!isMountedRef.current) { isMountedRef.current = true; } From df78df311b6bfefdf4ffca346015981e8b3ddfbd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 10:38:56 +0200 Subject: [PATCH 05/42] chore: cherry-pick #9674 (#9822) This PR cherry-picks #9674 Co-authored-by: Nico MASSART Co-authored-by: sethkfman --- .../Sections/DeleteMetaMetricsData.tsx | 39 +++++++++++++----- .../SecuritySettings.test.tsx.snap | 41 ++++++++++++++++--- app/constants/urls.ts | 3 ++ locales/languages/de.json | 6 --- locales/languages/el.json | 6 --- locales/languages/en.json | 15 +++---- locales/languages/es.json | 6 --- locales/languages/fr.json | 6 --- locales/languages/hi.json | 6 --- locales/languages/id.json | 6 --- locales/languages/ja.json | 6 --- locales/languages/ko.json | 6 --- locales/languages/pt.json | 6 --- locales/languages/ru.json | 6 --- locales/languages/tl.json | 6 --- locales/languages/tr.json | 6 --- locales/languages/vi.json | 6 --- locales/languages/zh.json | 6 --- 18 files changed, 75 insertions(+), 107 deletions(-) diff --git a/app/components/Views/Settings/SecuritySettings/Sections/DeleteMetaMetricsData.tsx b/app/components/Views/Settings/SecuritySettings/Sections/DeleteMetaMetricsData.tsx index 05813b53b2f..2427a73c958 100644 --- a/app/components/Views/Settings/SecuritySettings/Sections/DeleteMetaMetricsData.tsx +++ b/app/components/Views/Settings/SecuritySettings/Sections/DeleteMetaMetricsData.tsx @@ -7,7 +7,10 @@ import { import { useMetrics } from '../../../../hooks/useMetrics'; import SettingsButtonSection from '../../../../UI/SettingsButtonSection'; import { strings } from '../../../../../../locales/i18n'; -import { CONSENSYS_PRIVACY_POLICY } from '../../../../../constants/urls'; +import { + CONSENSYS_PRIVACY_POLICY, + HOWTO_MANAGE_METAMETRICS, +} from '../../../../../constants/urls'; import Logger from '../../../../../util/Logger'; import { getBrand, getDeviceId } from 'react-native-device-info'; import Text, { @@ -161,6 +164,7 @@ const DeleteMetaMetricsData = (props: DeleteMetaMetricsDataProps) => { }, [metricsOptin, checkInitialStatus, setDataTrackedSinceLastDeletion]); const openPrivacyPolicy = () => Linking.openURL(CONSENSYS_PRIVACY_POLICY); + const openMetametricsHowto = () => Linking.openURL(HOWTO_MANAGE_METAMETRICS); return ( { {strings('app_settings.delete_metrics_description_part_one')} {' '} - - {strings('app_settings.delete_metrics_description_part_two')} - {' '} +