Commit e2f3f4a
authored
fix: face id run twice during rehydration (MetaMask#18036)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
## **Description**
<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->
Face Id (biometric) run twice during rehydration.
This PR reduce FaceId (biometric) run once during rehydration
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry:
## **Related issues**
Fixes:
MetaMask#18029
## **Manual testing steps**
1. Login with seedless flow ( social login) with existing account
2. Login with password and enable biometrics
3. Face ID should only prompt once
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
https://github.com/user-attachments/assets/f60448b0-e0ef-4c85-b664-ab0dccea4a69
### **After**
<!-- [screenshots/recordings] -->
## **Pre-merge author checklist**
- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.1 parent a3405ef commit e2f3f4a
2 files changed
Lines changed: 42 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
| 1115 | + | |
| 1116 | + | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | 1119 | | |
| |||
1144 | 1146 | | |
1145 | 1147 | | |
1146 | 1148 | | |
1147 | | - | |
1148 | | - | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1149 | 1152 | | |
1150 | 1153 | | |
1151 | 1154 | | |
| |||
1157 | 1160 | | |
1158 | 1161 | | |
1159 | 1162 | | |
1160 | | - | |
| 1163 | + | |
1161 | 1164 | | |
1162 | | - | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | 1167 | | |
1166 | | - | |
| 1168 | + | |
1167 | 1169 | | |
1168 | 1170 | | |
1169 | 1171 | | |
| |||
1197 | 1199 | | |
1198 | 1200 | | |
1199 | 1201 | | |
1200 | | - | |
1201 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1202 | 1205 | | |
1203 | 1206 | | |
1204 | 1207 | | |
| |||
1215 | 1218 | | |
1216 | 1219 | | |
1217 | 1220 | | |
1218 | | - | |
| 1221 | + | |
1219 | 1222 | | |
1220 | | - | |
1221 | 1223 | | |
1222 | 1224 | | |
1223 | 1225 | | |
| |||
1234 | 1236 | | |
1235 | 1237 | | |
1236 | 1238 | | |
1237 | | - | |
| 1239 | + | |
1238 | 1240 | | |
1239 | 1241 | | |
1240 | 1242 | | |
| |||
1252 | 1254 | | |
1253 | 1255 | | |
1254 | 1256 | | |
1255 | | - | |
1256 | | - | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
1257 | 1260 | | |
1258 | 1261 | | |
1259 | 1262 | | |
| |||
1264 | 1267 | | |
1265 | 1268 | | |
1266 | 1269 | | |
1267 | | - | |
| 1270 | + | |
1268 | 1271 | | |
1269 | | - | |
1270 | 1272 | | |
1271 | 1273 | | |
1272 | 1274 | | |
| |||
1277 | 1279 | | |
1278 | 1280 | | |
1279 | 1281 | | |
1280 | | - | |
| 1282 | + | |
1281 | 1283 | | |
1282 | 1284 | | |
1283 | 1285 | | |
| |||
1296 | 1298 | | |
1297 | 1299 | | |
1298 | 1300 | | |
1299 | | - | |
| 1301 | + | |
| 1302 | + | |
1300 | 1303 | | |
1301 | 1304 | | |
1302 | 1305 | | |
1303 | 1306 | | |
1304 | 1307 | | |
1305 | 1308 | | |
1306 | | - | |
| 1309 | + | |
1307 | 1310 | | |
1308 | 1311 | | |
1309 | 1312 | | |
| |||
1321 | 1324 | | |
1322 | 1325 | | |
1323 | 1326 | | |
1324 | | - | |
1325 | | - | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1326 | 1331 | | |
1327 | 1332 | | |
1328 | 1333 | | |
| |||
1331 | 1336 | | |
1332 | 1337 | | |
1333 | 1338 | | |
1334 | | - | |
| 1339 | + | |
1335 | 1340 | | |
1336 | 1341 | | |
1337 | | - | |
| 1342 | + | |
1338 | 1343 | | |
1339 | 1344 | | |
1340 | 1345 | | |
| |||
1373 | 1378 | | |
1374 | 1379 | | |
1375 | 1380 | | |
1376 | | - | |
1377 | | - | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1378 | 1384 | | |
1379 | 1385 | | |
1380 | 1386 | | |
| |||
1403 | 1409 | | |
1404 | 1410 | | |
1405 | 1411 | | |
1406 | | - | |
| 1412 | + | |
1407 | 1413 | | |
1408 | 1414 | | |
1409 | 1415 | | |
1410 | 1416 | | |
1411 | | - | |
| 1417 | + | |
1412 | 1418 | | |
1413 | 1419 | | |
1414 | 1420 | | |
| |||
1819 | 1825 | | |
1820 | 1826 | | |
1821 | 1827 | | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
| 1828 | + | |
1825 | 1829 | | |
1826 | 1830 | | |
1827 | 1831 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
| 905 | + | |
909 | 906 | | |
910 | 907 | | |
911 | 908 | | |
| |||
949 | 946 | | |
950 | 947 | | |
951 | 948 | | |
952 | | - | |
| 949 | + | |
| 950 | + | |
953 | 951 | | |
954 | 952 | | |
955 | 953 | | |
| |||
980 | 978 | | |
981 | 979 | | |
982 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
983 | 984 | | |
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
| 988 | + | |
987 | 989 | | |
988 | 990 | | |
989 | 991 | | |
| |||
997 | 999 | | |
998 | 1000 | | |
999 | 1001 | | |
1000 | | - | |
1001 | 1002 | | |
1002 | 1003 | | |
1003 | 1004 | | |
| |||
1036 | 1037 | | |
1037 | 1038 | | |
1038 | 1039 | | |
1039 | | - | |
| 1040 | + | |
1040 | 1041 | | |
1041 | 1042 | | |
1042 | 1043 | | |
| |||
0 commit comments