Skip to content

Feat/main seedless onboarding UI toprf #14999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 243 commits into
base: feat/main-seedless-onboarding-ui
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
9fdcf35
feat: initial commit seedlessOnboarding
ieow Mar 24, 2025
e5a2d38
fix: remove unused code
ieow Mar 26, 2025
deaf155
feat: initial seedless onboarding controller integration
ieow Mar 26, 2025
36d330e
feat: refactor, integrate byoa
ieow Mar 28, 2025
0a159d2
feat: use Oauth2loginService
ieow Mar 28, 2025
6cfef4d
fix: clean up
ieow Apr 1, 2025
785825a
fix: update controller and flow
ieow Apr 2, 2025
8bb7c59
fix: stable rehydrate flow
ieow Apr 3, 2025
0316fed
Merge branch 'feat/getting-started' into feat/ui-merge
ieow Apr 3, 2025
7bb1f70
fix: update login
ieow Apr 3, 2025
b2a1199
fix: style typing error
ieow Apr 3, 2025
affc002
Merge branch 'feat/getting-started' into feat/ui-merge
ieow Apr 3, 2025
abe4b27
fix: update mock server
ieow Apr 4, 2025
45fd167
update: yarn lock file
ieow Apr 7, 2025
1ea8457
fix: add loading
ieow Apr 7, 2025
d5670e5
fix: update mock server
ieow Apr 4, 2025
4752b3a
update: yarn lock file
ieow Apr 7, 2025
6df077c
fix: add loading
ieow Apr 7, 2025
bd6ea2c
fix: clean up
ieow Apr 8, 2025
43b387a
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 9, 2025
90e1935
Merge branch 'feat/seedlessOnboarding' into feat/seedless-ui-merge
ieow Apr 9, 2025
0a40bda
fix: onboarding
ieow Apr 9, 2025
b3f3f91
fix: onboarding
ieow Apr 9, 2025
7e012f2
update: cleanup
ieow Apr 10, 2025
8eba07c
update: cleanup
ieow Apr 10, 2025
2c7a462
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 10, 2025
b74f868
fix: working apple login in android from browser result
ieow Apr 10, 2025
cfa8f77
feat: cleanup, remove unused deeplink handler
ieow Apr 10, 2025
97d11fa
fix: working apple login in android from browser result
ieow Apr 10, 2025
93c86e5
feat: cleanup, remove unused deeplink handler
ieow Apr 10, 2025
891ef99
update: cleanup
ieow Apr 10, 2025
df5b35d
fix: remove redux.dispatch on oauth2login constructor
ieow Apr 10, 2025
74f4333
feat: refactor
ieow Apr 10, 2025
8f566d2
Merge branch 'feat/seedlessOnboarding' into feat/seedless-ui-merge
ieow Apr 10, 2025
400474c
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 11, 2025
12d19fd
fix: move loginInProgress from redux state to local state
ieow Apr 11, 2025
3da10b5
fix: move loginInProgress from redux state to local state
ieow Apr 11, 2025
6b9fc51
feat: routing to AccountNotFound and AccountAlreadExist
ieow Apr 11, 2025
198bcf7
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 14, 2025
e548824
feat: decode jwt, return accountName for social user login
ieow Apr 14, 2025
a2c57be
fix : dispatch passwordSet for rehydrate flow
ieow Apr 14, 2025
985df1f
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 14, 2025
67fff7f
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 14, 2025
2c8b433
fix: fix undefined useProfileSyncing
ieow Apr 14, 2025
486e5c2
feat: decode jwt, return accountName for social user login
ieow Apr 14, 2025
ffd77fa
fix : dispatch passwordSet for rehydrate flow
ieow Apr 14, 2025
2f0355d
fix: use web3auth rn-google-acm package
ieow Apr 15, 2025
3f13752
feat: integrate toprf sdk
ieow Apr 15, 2025
f1a16ae
feat: add local toprf packages
ieow Apr 15, 2025
9add2e5
Merge branch 'feat/seedlessOnboarding-toprf' into feat/seedless-ui-me…
ieow Apr 16, 2025
82a125f
fix: update google-acm package
ieow Apr 16, 2025
7455c06
feat: update to use web3auth google-acm
ieow Apr 16, 2025
be8f8d6
fix: update pod lock
ieow Apr 16, 2025
32b8229
fix: add dependency at root
ieow Apr 16, 2025
4097ebc
fix: use https://raw.githubusercontent.com/ for local packages
ieow Apr 16, 2025
f2a8001
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 16, 2025
0e0c17e
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 16, 2025
9d3cfd0
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 16, 2025
84db76d
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 16, 2025
17a55a7
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 16, 2025
bfbf87f
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 17, 2025
399561e
fix: ui fix for social
ieow Apr 17, 2025
de5fd2f
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 17, 2025
851580d
Merge branch 'feat/seedlessOnboarding-toprf' into feat/main-seedless-…
ieow Apr 17, 2025
4075387
fix: remove loginMode
ieow Apr 17, 2025
51b1e10
fix: merge issue
ieow Apr 17, 2025
ef82cdb
feat: remove login mode
ieow Apr 17, 2025
cd7979c
Merge branch 'feat/seedlessOnboarding' into feat/seedless-ui-merge
ieow Apr 17, 2025
e0763cc
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 17, 2025
3f3c37e
feat: update controller
ieow Apr 17, 2025
bc8ad28
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 17, 2025
323a1d6
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 17, 2025
270b8c6
fix: update with latest toprf controller
ieow Apr 17, 2025
135058f
fix: update toprf controller
ieow Apr 17, 2025
3ceb622
fix: update toprf controller
ieow Apr 17, 2025
483b9a0
Merge branch 'feat/getting-started' into feat/seedless-ui-merge
ieow Apr 18, 2025
556795f
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 18, 2025
3fac88f
fix: update toprf controller
ieow Apr 18, 2025
2d9c202
fix: android google login bug
ieow Apr 18, 2025
02f7757
fix: android google login bug
ieow Apr 18, 2025
75c0bc1
fix: android google login
ieow Apr 18, 2025
464b9eb
Merge branch 'feat/seedlessOnboarding' into feat/seedlessOnboarding-t…
ieow Apr 18, 2025
f527ead
Merge branch 'feat/seedlessOnboarding-toprf' into feat/main-seedless-…
ieow Apr 18, 2025
1692cc4
Merge branch 'feat/seedlessOnboarding' into feat/seedless-ui-merge
ieow Apr 18, 2025
aed38da
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 18, 2025
5d8d712
fix: update controller integration
ieow Apr 18, 2025
94242d1
fix: update package.json
ieow Apr 18, 2025
043af77
fix: login view
ieow Apr 18, 2025
277a71a
feat: update ui flow
ieow Apr 18, 2025
dd3a1f6
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 18, 2025
7312942
fix: to use idToken
ieow Apr 19, 2025
b89ce61
Merge branch 'feat/seedless-ui-merge' into feat/seedless-ui-merge-toprf
ieow Apr 19, 2025
73c36cc
fix: update controller
ieow Apr 21, 2025
1cf0833
fix: update seedless package.json
ieow Apr 21, 2025
56e9dd1
fix: update to use jwtToken sub for toprf authenticate
ieow Apr 21, 2025
2148323
Merge branch 'main' into feat/main-seedless-toprf
ieow Apr 21, 2025
35f9cb0
fix: update controller integration
ieow Apr 18, 2025
9b8f67c
fix: update to use jwtToken sub for toprf authenticate
ieow Apr 21, 2025
76ba595
fix: update controller
ieow Apr 21, 2025
09cf1d7
Merge branch 'feat/main-seedless-toprf' into feat/main-seedless-onboa…
ieow Apr 21, 2025
369a39a
Merge branch 'feat/seedless-ui-merge-toprf' into feat/main-seedless-o…
ieow Apr 21, 2025
704a9d3
fix: Login page for rehydrate
ieow Apr 21, 2025
e99e7ca
fix: Login rehydrate
ieow Apr 21, 2025
792dd4d
feat: factory pattern
ieow Apr 22, 2025
2217e6f
fix: unsetLoading, update passwordSet on rehydrate
ieow Apr 22, 2025
c1fe54a
fix: importFromSeedPhrase bug
ieow Apr 22, 2025
0f1ce36
Merge branch 'feat/main-seedless-onboarding-ui' into feat/main-seedle…
ieow Apr 22, 2025
65010b6
workaround: comment out renderSwitch
ieow Apr 22, 2025
2cf27ff
chore: cleanup
ieow Apr 23, 2025
120f110
fix: remove unused import
ieow Apr 23, 2025
f1e40fc
feat: add seedless controller init test
ieow Apr 23, 2025
6c43c9e
fix: ios apple login
ieow Apr 23, 2025
8051e3b
feat: initial commit seedless integration
ieow Apr 23, 2025
af381bc
fix: add patch
ieow Apr 23, 2025
664ac70
fix: getting seedless controller initial test pass
ieow Apr 23, 2025
6143a4a
feat: simple tests
ieow Apr 23, 2025
09f71dc
fix: rename folder
ieow Apr 23, 2025
3905d61
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 23, 2025
53c367d
rename: to authConnection
ieow Apr 23, 2025
89f5e52
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 23, 2025
7ad5fd4
update: upload seedless controller package
ieow Apr 24, 2025
ac5607e
fix: update with seedless contorller
ieow Apr 24, 2025
56d84a4
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 24, 2025
c6f4590
fix: lint
ieow Apr 24, 2025
f8952b1
fix: update comment
ieow Apr 24, 2025
cef712b
fix: use baseHandler
ieow Apr 24, 2025
3279343
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 24, 2025
dc3366c
fix: apple login
ieow Apr 24, 2025
ab32e19
fix: seedless
ieow Apr 24, 2025
3833daf
fix: use env
ieow Apr 24, 2025
ef332ad
working review
chaitanyapotti Apr 24, 2025
de8f5ac
fix: use env for AuthConnectionId
ieow Apr 24, 2025
1c1e958
fix: update env constant
ieow Apr 24, 2025
14ab169
fix: fomatting
ieow Apr 24, 2025
515caa5
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 24, 2025
4e33208
Merge branch 'feat/main-seedless-onboarding-ui' into feat/main-seedle…
ieow Apr 24, 2025
d25afcb
fix: link social button
ieow Apr 24, 2025
4028cc6
fix: temp fix to get bitrise build
ieow Apr 24, 2025
b88b9ff
fix: missing env
ieow Apr 24, 2025
13289e1
Merge branch 'feat/seeless-onboarding-settings-ui' into feat/main-see…
ieow Apr 24, 2025
b57ee6c
fix: redux state for seedless controller
ieow Apr 24, 2025
2b25e0c
fix: selector for seedless email
ieow Apr 24, 2025
3599963
fix: redux state for seedless controller
ieow Apr 24, 2025
db56659
fix: add env to test
ieow Apr 24, 2025
5824e0c
fix: add Error class for oauth2login
ieow Apr 25, 2025
a5c3b42
fix: apple login
ieow Apr 25, 2025
adea362
fix: add JsDoc
ieow Apr 25, 2025
563849e
fix: tests
ieow Apr 25, 2025
9c7b458
fix: rename file
ieow Apr 25, 2025
c8e5b1a
fix: rename to OAuthService
ieow Apr 25, 2025
caa4d5b
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 25, 2025
295e284
fix: rename to oauthService
ieow Apr 25, 2025
d3bdd54
fix: rename oauth2 to oauth
ieow Apr 25, 2025
34b530d
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 25, 2025
fb73cff
fix: rename bug
ieow Apr 25, 2025
e4f0af6
Update app/core/OAuthService/OAuthLoginHandlers/androidHandlers/apple.ts
ieow Apr 25, 2025
d49a2fc
Update app/core/OAuthService/OAuthLoginHandlers/baseHandler.ts
ieow Apr 25, 2025
0fd98b5
fix: update AuthResponse data type
ieow Apr 25, 2025
31f3725
fix: fix engine test
ieow Apr 25, 2025
f52172f
fix: address comment
ieow Apr 25, 2025
fb77f6e
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 25, 2025
b2b2511
fix: renable test and format document
ieow Apr 25, 2025
f4e9dea
fix: use constants from constants file
ieow Apr 26, 2025
70ab31f
fix: navigate reset on rehydrate
ieow Apr 26, 2025
99781ef
fix: navigation issue for account not exist and already exist
ieow Apr 26, 2025
28d92de
fix: tests and error constructor
ieow Apr 26, 2025
2f4b52e
fix: remove from redux state
ieow Apr 27, 2025
793bf5f
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 27, 2025
505a06c
fix: update with remove redux state
ieow Apr 27, 2025
fa26464
fix: add feature flag
ieow Apr 27, 2025
41b07dd
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 27, 2025
3168608
Merge branch 'feat/seeless-onboarding-settings-ui' into feat/main-see…
ieow Apr 28, 2025
8c8be22
feat: update controller, change password
ieow Apr 28, 2025
2590578
feat: add metric, add feature flag to page
ieow Apr 28, 2025
200758d
fix: invalid fence pair a
ieow Apr 28, 2025
3fdaafc
fix: better type handling
ieow Apr 28, 2025
5ed2216
Merge branch 'main' into feat/main-seedless-onboarding
ieow Apr 28, 2025
f6ec7be
fix: change password
ieow Apr 29, 2025
ccb030b
fix: error sheet on login page
ieow Apr 29, 2025
098d6cf
fix: update snapshot for engine initialState
ieow Apr 29, 2025
a6d1d35
fix: remove unused logging
ieow Apr 29, 2025
eecc415
chore: multi-srp seedless onboarding controller
ieow Apr 29, 2025
07aff15
chore: upgrade assets controller v59 (#14895)
salimtb Apr 29, 2025
12a5bc7
Merge branch 'main' into feat/main-seedless-onboarding-ui-toprf
ieow Apr 29, 2025
bcef794
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow Apr 29, 2025
3ebd753
chore: cp-7.46.0 remove temporary activity tab navigation workaround …
bfullam Apr 29, 2025
4ab6bc1
perf: optimise useGetFormattedTokensPerChain reselector recomputation…
Prithpal-Sooriya Apr 29, 2025
cbf4b01
chore: bump solana snap to 1.24.0 cp-7.46.0 (#14880)
montelaidev Apr 29, 2025
42628ed
perf: cp-7.46.0 prevent account notification rerenders (#14981)
Prithpal-Sooriya Apr 29, 2025
baafccc
fix: cp-7.25.0 Revert "feat: Auto-failover to Quicknode when Infura i…
mcmire Apr 29, 2025
4cb7076
fix: update header to show network name for multichain accounts (#14933)
montelaidev Apr 29, 2025
4e133c6
feat: Add Flask Build Support with Dynamic RDNs for Mobile (#14886)
abretonc7s Apr 30, 2025
cf99fce
chore: Further optimize AccountsSelectorList (#14957)
owencraston Apr 30, 2025
a9ee39f
fix: correct import seed phrase word handling
tuna1207 Apr 30, 2025
93b0e39
feat: update seedless controller with multi-srp
ieow Apr 30, 2025
4bd8968
fix: add cancel error handling for seemsless login
ieow Apr 30, 2025
7a9f51f
feat: Add `FromTo` component for `transfer` confirmations (#14960)
OGPoyraz Apr 30, 2025
b2a0e2c
Merge branch 'feat/main-seedless-onboarding-ui' into feat/main-seedle…
ieow Apr 30, 2025
d0cb1f9
chore(docs): Add E2E testing guide for Segment events (#14995)
cmd-ob Apr 30, 2025
55f0925
fix: Temporarily remove contract interaction feature flag (#14977)
pedronfigueiredo Apr 30, 2025
14d2e69
fix: Removes transaction simulations from send flow confirmation page…
OGPoyraz Apr 30, 2025
4bd6f1e
fix: cp-7.46.0 Fix `Approval` component to unnecessary override on co…
OGPoyraz Apr 30, 2025
ca72707
feat: add srp pills (#14829)
montelaidev Apr 30, 2025
57a9981
feat: Use chainId when checking if it's a smart transaction (#14890)
dan437 Apr 30, 2025
59dba15
fix: Confirm font size; use default 16 px (#14715)
digiwand Apr 30, 2025
7ee569e
chore: Improve ApprovalModal performance (#14986)
owencraston Apr 30, 2025
ed09cd4
feat: Integrate deeplink and dapp initated transfer confirmations (#1…
OGPoyraz Apr 30, 2025
0b20e75
chore: bridge keep keyboard on screen even during quote fetching cp-7…
infiniteflower Apr 30, 2025
7583960
feat: Adding wallet middleware in mobile (#14792)
jpuri Apr 30, 2025
6c1aecc
test: rename ganache specific contract registry class to generic 'con…
cortisiko Apr 30, 2025
e66de2b
chore: Upgrade React Native to 0.76.6 (#13771)
andrepimenta Apr 30, 2025
733bad1
fix: cp-7.46.0 Improve `TokenList` performance with `FlashList` and i…
gambinish Apr 30, 2025
c259d43
chore: Mms 2059 bridge remote feature flags cp-7.46.0 (#14865)
infiniteflower May 1, 2025
20b9e2e
fix: app crashing on main builds when navigating to bridge cp-7.46.0 …
infiniteflower May 1, 2025
20b8759
feat(bridge): prevent quotes from refreshing once tx has been submitt…
bfullam May 1, 2025
a3f0540
test: change phishing url for e2e (#15054)
cortisiko May 1, 2025
0ee7360
fix: Do not initialize RemoteFeatureFlagController with state (#14784)
mcmire May 1, 2025
f0d870c
fix: prevent token details from crashing when decimals are 0 (#15052)
Prithpal-Sooriya May 1, 2025
25ed17c
chore: update cicd release workflow refs (#15062)
jake-perkins May 1, 2025
168e5d2
chore: rename profile sync hooks and selectors to backup and sync (#1…
mathieuartu May 2, 2025
e6651f6
chore: add backup and sync translations (#15039)
mathieuartu May 2, 2025
115a061
fix: Auto reject terminated Snap dialogs (#15051)
FrederikBolding May 2, 2025
9884c62
perf: cp-7.46.0 prevent carousel rerenders (#14980)
Prithpal-Sooriya May 2, 2025
1f089e3
fix: cp-7.46.0 improve token list item re renders (#15063)
sahar-fehri May 2, 2025
792dafb
feat: add backup sync new components (unused yet) (#15071)
mathieuartu May 2, 2025
8385d17
perf: Fix a couple of selectors used for tokens (#15075)
FrederikBolding May 2, 2025
e61d881
test: Create Anvil Clients Util (#14952)
cortisiko May 2, 2025
6a0b457
fix: base-x audit issue (#15087)
tommasini May 2, 2025
21ee2e8
feat: Remove Go To Favorites from browser menus (#14121)
ziad-saab May 2, 2025
419e0cb
fix: Fix iOS build issue on Xcode 16.3 (#15045)
Cal-L May 2, 2025
1aef6b5
fix: cp-7.46.0 De-duplicate key and overlapping item issues in TokenL…
gambinish May 2, 2025
3ba772b
fix: AccountSelectorList test (#15085)
owencraston May 2, 2025
471db71
fix: cp-7.46.0 add navigation to activity page before solana tx submi…
bfullam May 3, 2025
03fd913
fix: cp-7.46.0 show "auto" when slippage is undefined (#15083)
bfullam May 3, 2025
e3948d4
Merge branch 'main' into feat/main-seedless-onboarding
ieow May 5, 2025
aab0556
fix: update lib to support rn76
ieow May 5, 2025
f7e4ae1
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow May 5, 2025
d3bf8a9
fix: polyfill crypto, fix feature flag
ieow May 5, 2025
1c5eed5
fix: feature flag bug
ieow May 6, 2025
ed4c232
Merge branch 'main' into feat/main-seedless-onboarding-ui
ieow May 6, 2025
6770d63
fix: merge issue
ieow May 6, 2025
de53064
Merge branch 'feat/main-seedless-onboarding-ui' into feat/main-seedle…
ieow May 6, 2025
8872273
Merge branch 'feat/main-seedless-onboarding' into feat/main-seedless-…
ieow May 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 14 additions & 2 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ignores:
- '@lavamoat/allow-scripts'
- '@lavamoat/git-safe-dependencies'
- 'babel-plugin-inline-import'
# This is used in index.d.ts
- '@sentry/react'
# This is used on the patch for TokenRatesController of Assets controllers, for we to be able to use the last version of it
- cockatiel

Expand Down Expand Up @@ -79,16 +81,26 @@ ignores:
- 'url'
- 'vm-browserify'
- 'react-native-cli'
- 'babel-plugin-module-resolver'

## Missing dependencies to investigate
- '@react-navigation/core'
- 'app'
- 'i18n-js'
- 'images'

## Expo
- '@config-plugins/detox'
- 'cross-spawn'
- 'expo-build-properties'
- 'expo-dev-client'


## react native
- '@react-native-community/cli'
- '@react-native-community/cli-platform-android'
- '@react-native-community/cli-platform-ios'
- '@react-native-community/cli-server-api'
- '@react-native/typescript-config'
- 'react-native-pager-view'
# this dependency can probably be removed, needs investigation
- '@types/react-test-renderer'
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'error',
// Under discussion
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-parameter-properties': 'off',
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

create-release-pr:
needs: generate-build-version
uses: MetaMask/github-tools/.github/workflows/create-release-pr.yml@3e0b0204e41b576263b9060945de3b3b9b8c5448
uses: MetaMask/github-tools/.github/workflows/create-release-pr.yml@d1ba843333b920fc9b0e1823fd519b7a64d07f5f
with:
platform: mobile
base-branch: ${{ inputs.base-branch }}
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/create-release-pr.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ android/app/.project
android/app/bin/
android/app/gradle*
android/app/_build*
.cxx/

# if we ever want to add google services
android/app/google-services.json
Expand Down Expand Up @@ -134,6 +135,7 @@ android/app/src/main/assets/modules.json
.expo
dist/
web-build/
expo-env.d.ts

# CICD
github-tools/
Expand Down
2 changes: 2 additions & 0 deletions .iyarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://github.com/advisories/GHSA-c76h-2ccp-4975 This is temporarily ignored, will be fixed by updating yarn to v3 in this PR: https://github.com/MetaMask/metamask-mobile/pull/14477
GHSA-c76h-2ccp-4975
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- fix(bridge): show "Auto" slippage for Solana swaps

### Added

Expand All @@ -26,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- feat(bridge): use `BridgeStatusController` for EVM and Solana Bridge transaction submission ([#14708](https://github.com/MetaMask/metamask-mobile/pull/14708))
- feat(multi-srp): add discover accounts to MultichainWalletSnapClient ([#14727](https://github.com/MetaMask/metamask-mobile/pull/14727))
- feat: real time dapp scanning BrowserTab ([#14515](https://github.com/MetaMask/metamask-mobile/pull/14515))
- feat(multi-srp): add new srp pills labels ([#14829](https://github.com/MetaMask/metamask-mobile/pull/14829))
- feat(earn): add pooled-staking and stablecoin lending remote feature flags ([#14660](https://github.com/MetaMask/metamask-mobile/pull/14660))
- feat: feat: AccountConnect and AccountApproval use dapp scanning ([#14514](https://github.com/MetaMask/metamask-mobile/pull/14514/))

Expand All @@ -38,11 +40,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fix(multi-srp): display errors only after all the words are have been entered ([#14607](https://github.com/MetaMask/metamask-mobile/pull/14607))
- fix(wallet-ux): increased touchable area for account picker so it is easier to select ([#14762](https://github.com/MetaMask/metamask-mobile/pull/14762))
- fix(multi-srp): display alternative text color when in dark mode([#14718](https://github.com/MetaMask/metamask-mobile/pull/14718))
- fix(confirmations): remove transaction simulations from wallet initiated send flow ([#14994](https://github.com/MetaMask/metamask-mobile/pull/14994))

### Fixed

- fix(bridge): keyboard not appearing when error banner is displayed ([#14862](https://github.com/MetaMask/metamask-mobile/pull/14862))
- fix(bridge): fix not switching networks when selecting source token ([#14712](https://github.com/MetaMask/metamask-mobile/pull/14712))
- fix: update confirmation font sizes ([#14715](https://github.com/MetaMask/metamask-mobile/pull/14715))
- fix: updates a padding style specifically for Android devices ([#14725](https://github.com/MetaMask/metamask-mobile/pull/14725))
- fix(bridge): enhance UI/UX with improved input handling and layout adjustments ([#14781](https://github.com/MetaMask/metamask-mobile/pull/14781))
- fix(swaps): set default slippage when source or destination token is not stablecoin ([#14730](https://github.com/MetaMask/metamask-mobile/pull/14730))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ To learn how to contribute to the MetaMask codebase, visit our [Contributor Docs
- [API Call Logging for Debugging](./docs/readme/api-logging.md)
- [Storybook](./docs/readme/storybook.md)
- [Miscellaneous](./docs/readme/miscellaneous.md)
- [E2E Testing Segment Events](./docs/testing/e2e/segment-events.md)

## Getting started

Expand Down
51 changes: 40 additions & 11 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
apply plugin: "com.android.application"
apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"
apply plugin: "io.sentry.android.gradle"
apply plugin: 'com.google.gms.google-services'
def projectRoot = rootDir.getAbsoluteFile().getParentFile().getAbsolutePath()

/**
* This is the configuration block to customize your React Native Android app.
Expand Down Expand Up @@ -49,9 +51,15 @@ react {
// hermesFlags = ["-O", "-output-source-map"]
//
// Added by install-expo-modules
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", rootDir.getAbsoluteFile().getParentFile().getAbsolutePath(), "android", "absolute"].execute(null, rootDir).text.trim())
cliFile = new File(["node", "--print", "require.resolve('@expo/cli')"].execute(null, rootDir).text.trim())
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", projectRoot, "android", "absolute"].execute(null, rootDir).text.trim())
reactNativeDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
hermesCommand = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsolutePath() + "/sdks/hermesc/%OS-BIN%/hermesc"
codegenDir = new File(["node", "--print", "require.resolve('@react-native/codegen/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
cliFile = new File(["node", "--print", "require.resolve('@expo/cli', { paths: [require.resolve('expo/package.json')] })"].execute(null, rootDir).text.trim())
bundleCommand = "export:embed"

/* Autolinking */
autolinkLibrariesWithApp()
}

// Override default React Native to generate source maps for Hermes
Expand Down Expand Up @@ -170,7 +178,8 @@ def ndkPath() {
android {
ndkVersion rootProject.ext.ndkVersion

compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion

namespace"io.metamask"

Expand All @@ -179,7 +188,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionName "7.44.0"
versionCode 1707
versionCode 1773
testBuildType System.getProperty('testBuildType', 'debug')
missingDimensionStrategy 'react-native-camera', 'general'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -197,8 +206,18 @@ android {
pickFirst 'lib/armeabi-v7a/libcrypto.so'
pickFirst 'lib/x86/libcrypto.so'
pickFirst 'lib/x86_64/libcrypto.so'
jniLibs {
useLegacyPackaging (findProperty('expo.useLegacyPackaging')?.toBoolean() ?: false)
}
exclude 'META-INF/AL2.0'
exclude 'META-INF/LGPL2.1'
exclude 'mockito-extensions/org.mockito.plugins.MockMaker'
}

androidResources {
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~'
}

signingConfigs {
release {
storeFile file('../keystores/release.keystore')
Expand Down Expand Up @@ -235,6 +254,8 @@ android {
manifestPlaceholders.isDebug = false
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro", "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro", "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules.pro"
crunchPngs (findProperty('android.enablePngCrunchInReleaseBuilds')?.toBoolean() ?: true)
testProguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro", "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro", "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules.pro"
}
}

Expand Down Expand Up @@ -271,6 +292,10 @@ android {
// Used to point to dev environment API for ramp
it.buildConfigField 'String', 'IS_RAMP_DEV', "\"$System.env.RAMP_DEV_BUILD\""
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand All @@ -282,12 +307,7 @@ dependencies {
androidTestImplementation 'org.mockito:mockito-android:4.2.0'
androidTestImplementation 'androidx.test:core:1.5.0'
androidTestImplementation 'androidx.test:core-ktx:1.5.0'
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.squareup.okhttp3', module:'okhttp'
}

debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
if (hermesEnabled.toBoolean()) {
implementation("com.facebook.react:hermes-android")
} else {
Expand All @@ -297,6 +317,15 @@ dependencies {
exclude module: "protobuf-lite"
}
androidTestImplementation ('androidx.test.espresso:espresso-contrib:3.4.0')
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
// Add these dependencies for androidTest
androidTestImplementation "com.google.guava:guava:31.1-android"
androidTestImplementation "org.ow2.asm:asm:9.4"
androidTestImplementation "net.java.dev.jna:jna:5.12.1"
androidTestImplementation "net.java.dev.jna:jna-platform:5.12.1"
androidTestImplementation "org.opentest4j:opentest4j:1.2.0"

// Make sure you have the proper Mockito dependencies
androidTestImplementation "org.mockito:mockito-core:4.8.0"
androidTestImplementation "org.mockito:mockito-inline:4.8.0"
}
15 changes: 15 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,18 @@
-keep class kotlin.** { *; }

-keep class kotlin.Metadata { *; }

-dontwarn kotlinx.serialization.SerialName
-dontwarn kotlinx.serialization.Serializable

# Ignore missing Java desktop classes referenced by JNA
-dontwarn java.awt.**
-dontwarn javax.swing.**
-dontwarn java.lang.instrument.**
-dontwarn sun.misc.**
-dontwarn org.mockito.**
-dontwarn edu.umd.cs.findbugs.**
-dontwarn com.huawei.hms.ads.**
-dontwarn com.google.common.util.concurrent.**
-dontwarn org.objectweb.asm.**
-dontwarn net.bytebuddy.**
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class RNTarTest {

@Before
public void setUp() {
reactContext = new ReactApplicationContext(ApplicationProvider.getApplicationContext());
reactContext = mock(ReactApplicationContext.class);
tar = new RNTar(reactContext);
promise = mock(Promise.class);
}
Expand Down
75 changes: 0 additions & 75 deletions android/app/src/debug/java/io/metamask/ReactNativeFlipper.java

This file was deleted.

Loading
Loading