Commit Graph

576 Commits

Author SHA1 Message Date
Justin Hernandez
f98beea498 SEL-496: Add Firebase Remote Config and dev feature flag screen (#735)
* feat: add remote config support

* update lock

* tweak config logic. add feature flag viewing screen

* add tests

* allow for local overriding of feature flags

* save local override work

* save wip

* clean up ui

* update screen to handle multi value types

* fix tests

* cr feedback and fix tests

* remote config upates. fix tests, codex feedback
2025-07-05 17:29:26 -07:00
turnoffthiscomputer
2f08c664e2 fix the female bug 2025-07-05 20:30:08 +02:00
turnoffthiscomputer
4227f6da82 add the gender to the deeplink optoin 2025-07-05 18:30:21 +02:00
turnoffthiscomputer
b5a2dae135 fix deeplink genmockiddoc 2025-07-05 16:34:38 +02:00
Justin Hernandez
aac34ecdc0 remove loading screen race condition redirect (#736) 2025-07-03 12:06:43 -07:00
Justin Hernandez
7646a769ac SEL-494: Update proving machine event tracking (#734)
* Add extensive proof analytics instrumentation

* prettier and sort events by key name
2025-07-03 11:36:24 -07:00
Justin Hernandez
f77cd80663 Temporarily disable recovery redirect and reminder prompts (#733)
* Revert "SEL-487: Prompt user to backup recovery phrase before registering (#715)"

This reverts commit fe14ac655e.

* revert update

* fix safe area context pkg

* Revert "SEL-487: Prompt user to backup recovery phrase before registering (#715)"

This reverts commit fe14ac655e.

* fix old flow

* more silent tests

* update lock files

* hard code return
2025-07-03 11:01:43 -07:00
turnoffthiscomputer
113d796c43 yarn nice 2025-07-03 14:26:22 +02:00
turnoffthiscomputer
a6edf217ce allow people to switch to a mock id (#732) 2025-07-03 13:28:00 +02:00
turnoffthiscomputer
8ac75286eb App/ethcc fixes (#730)
* fix mock data screen

* increase timout between dsc and register proof

* fix the isUserRegisteredWithAlternativeCSCA function

* yarn nice
2025-07-03 12:57:41 +02:00
Justin Hernandez
c303366706 Apply consistent safe area padding across screens (#726) 2025-07-01 19:56:16 -07:00
Justin Hernandez
9f5473e0a2 feat(app): redirect empty docs to launch (#725) 2025-07-01 19:38:34 -07:00
Justin Hernandez
f2630e1b5f fix backup button label (#722) 2025-07-01 12:27:08 -07:00
Seshanth.S🐺
28a9f1bcfa feat: add flag to use PACEPolling (#680)
* feat: add flag to use PACEPolling

* fix: santize before storing in store

* bump ios build number and update podfile lock

* prettier

* bump build

* feat: add flag to use PACEPolling

* fix: santize before storing in store

* bump ios build number and update podfile lock

* prettier

* bump build

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-07-01 09:31:11 -07:00
Justin Hernandez
36d08138a5 fix onboarding assets (#719) 2025-07-01 08:53:53 -07:00
Justin Hernandez
e66c37ce2f SEL-479: Multi-ID onboarding mvp flow (#688)
* save new launch screen wip

* save wip

* finalize launch look

* replace launch screen

* rename

* update camera onboarding and scan screen

* update tips looks

* update nfc scan issue screens

* update copy

* add launch screen todo

* fix casing

* update launch screen link, copy and add tracking event

* bump project version to match app store

* match app store

* updated supported bio id link

* add dialog message support back in

* cr feedback

* bump version and build

* update images

* tweak animation layout

* loop with setTimeout
2025-07-01 03:48:05 -07:00
Justin Hernandez
005eff002c Remove StartupFlushPolicy (#717) 2025-07-01 03:39:36 -07:00
Justin Hernandez
fe14ac655e SEL-487: Prompt user to backup recovery phrase before registering (#715)
* feat: prompt backup before registration

* coderabbit feedback

* fix tests

* coderabbitai feedback and fix tests
2025-06-30 17:00:29 -07:00
Justin Hernandez
cf2405254e Bugfix: Show recovery prompt only when user has docs (#714)
* feat(app): prompt recovery only when docs exist

* cr feedbacl
2025-06-30 14:59:32 -07:00
Justin Hernandez
e3c7df9a83 Chore: ensure there is an extra empty line after the license declaration (#712)
* ensure there is an extra empty line after the license declaration

* ignore adding header to cjs config files

* add missing license header

* ignore linting metro config
2025-06-29 23:26:41 -07:00
Justin Hernandez
180aeeca71 SEL-483: Implement recovery backup prompts (#710)
* feat: prompt users to back up account

* feat: prompt users to back up account

* format

* Add tests for recovery prompt logic

* more lint updates

* fix imports

* fix unused import

* update cursor suggestions

* implement coderabbit suggestions and fix tests
2025-06-29 21:53:51 -07:00
Justin Hernandez
a7e8e903d6 SEL-330: Add backup check after verification (#711)
* route to save phrase if backup disabled

* format
2025-06-29 19:56:52 -07:00
Justin Hernandez
b84fe5da5e SEL-447: Improve proof failure feedback (#707)
* feat: flag stale proofs as failed

* make a constant

* format
2025-06-29 19:18:29 -07:00
Justin Hernandez
d923a02668 SEL-425: Add document management analytics events (#706)
* Add document management analytics

* coderabbit feedback
2025-06-29 19:05:53 -07:00
Justin Hernandez
5c54bc5320 Show NFC support message (#708) 2025-06-29 15:04:47 -07:00
Justin Hernandez
2c52855a12 feat(app): clarify passport linking (#704) 2025-06-29 15:00:04 -07:00
Justin Hernandez
e9c9e1a64b Fix navigation serialization warnings (#702)
* test: cover modal callbacks

* coderabbit feedback
2025-06-29 13:30:19 -07:00
Justin Hernandez
3eb4a198ad Abstract iOS cloud backup logic (#701)
* feat(ios): abstract cloud backup logic

* prettier and cr feedback

* tested on iOS and android and functionality is the same
2025-06-29 09:30:52 -07:00
Justin Hernandez
5435190199 SEL-444: Fix android cloud backup (#697)
* feat(android): migrate google backup

* update lock and google services config

* add bulk format command

* backup fixes

* working drive settings!!!!!!!!

* remove unneeded intent filter

* add tests

* coderabbit feedback

* coderabbit feedback

* abstract google method

* coderabbit feedback and fix test

* more coderabbit suggestions and tests fixes
2025-06-29 02:54:07 -07:00
Kevin Lin
66c3df7fcb ci: add prettier check for contract sdk (#602)
* Add Prettier check for code formatting in contracts workflow

* Update contracts workflow: remove unused checkout action and fix build step name

* Run formatter

* Run lint fix
2025-06-28 07:30:29 +08:00
turnoffthiscomputer
f0a1538e57 fix env set to null 2025-06-26 19:32:36 +02:00
turnoffthiscomputer
c12cde5203 fix euid (#685) 2025-06-25 22:47:48 +02:00
turnoffthiscomputer
db2fd0b7df remove the && false 2025-06-25 22:34:03 +02:00
Eric Nakagawa
4d4efffe5a Apply BSL to app codebase (#639)
* Clean up root license wording

* Simplify SPDX header

* simplify license and rename BSL to BUSL

* fix merge issues

* fix missing method

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-06-23 21:47:53 -07:00
Justin Hernandez
60bfe4387c Apply BUSL v1.1 license headers to app (#665)
* Add BSL license headers to app sources

* prettier

* fix license reference - https://spdx.org/licenses/BUSL-1.1.html
2025-06-23 13:44:01 -07:00
turnoffthiscomputer
0468719f9f App/eu id updates (#638)
* fix build issues

* generate disclosure proof with euids

* generate disclosure proof with euids

* Eu id updates 2 (#648)

* update vc_and_disclose_id test (dev branch) (#641)

* fix: vc_and_disclose_id test

* chore: yarn prettier

* Show modal on NFC scan error (#642)

* Add help button and error modal actions

* fix the screen management

* yarn nice

* Bump build v2.5.4: ios 132; android 71 (#631)

* bump version and build numbers

* remove tamagui/toast

* fix marketing version

* fix: update TD1 and TD3 checks (#643)

* bum yarn.lock

* add version and user defined data

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>

* remove the mock user define data

* get the useridentifier as a hash from the user defined data

* chore: add version and userDefinedData

* feat: use the version in register / dsc proofs as well

* update calculateUserIdentifierHash

* yarn nice

* refactor: consolidate user context data handling and update payload structure

* fix typing issues on sha1

* remove console.log(sha1)

* fix sha1 import

* refactor: streamline userDefinedData handling and adjust payload type for circuit

* refactor: update sha1 usage and enhance logging in calculateUserIdentifierHash

* yarn nice

* yarn lint common

* use ts-ignore for sha1 import

* fix app ci tests

* fix typing issue

* remove unused ts-ignore

* cast uuid before calling generateinputs

* bump qrcode version

* add tsup on the qrcode sdk

* fix: exports on selfxyz/qrcode

* update how we define config.version

* fix yarn imports

* yarn format

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: Ayman <aymanshaik1015@gmail.com>
2025-06-23 13:01:23 +02:00
Seshanth.S🐺
d89d202f28 fix: update TD1 and TD3 checks (#643) 2025-06-19 10:22:00 +02:00
turnoffthiscomputer
93312c0d5e Show modal on NFC scan error (#642)
* Add help button and error modal actions

* fix the screen management

* yarn nice
2025-06-18 16:45:09 +02:00
turnoffthiscomputer
08c1ead315 Simplify dev mode gesture (#635)
* Simplify developer mode gesture

* Enable dev mode on MockData screen with five taps
2025-06-17 15:24:50 +02:00
Seshanth.S🐺
e99e4736bc feat: add MRZ correction method to NFCMethodSelectionScreen (#627) 2025-06-16 16:35:12 +02:00
Seshanth.S🐺
498b89caae CAN auth - android (#613)
* add missed files

* add NFCMethodSelectionScreen

* bump android build

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-06-16 16:34:45 +02:00
turnoffthiscomputer
e814b2fccf feat: add mixpanel events for registration flow (#616) 2025-06-12 17:05:55 +02:00
Seshanth.S🐺
e4d5b62fdb Add TD1 support - android (#603)
* feat: add TD1 support - android

* fix: missing logs

* update JMRTD and add CAN

* add yarn.lock
2025-06-11 13:20:58 -07:00
turnoffthiscomputer
7a8678b72d add euid support in app (#559)
* add euid support in app

* yarn nice

* add euid support to proving machine

* update provingMachine and add id endpoints

* fix circuitsDNSmapping

* fix proving

* fix validateDocument

* add todo comment

* add the skip PCR0 option

* set multiple passportData types

* allow storing different id documents

* fix wording

* use goback on the passportOboardingScreen

* update tamagui version

* update yarn.lock

* remove logs in mockdata screen

* remove SKIP_PRC0_CHECK const

* refactor passport data keychain storage

* update project.pbxproj

* yarn nice

* yarn nice

* fix imports

* yarn nice

* add ManageDocuments screen to tests

* update name of the ManageDocument screen in the settings

* run linter in common repo

* clean mrz before doing the length check on android
2025-06-11 13:19:49 -07:00
Justin Hernandez
65b5f8a389 Bump build ios 128 android 67 (#601)
* bump build

* update clean commands

* add notification tracking provider, and update provider paths

* request permission for firebase cloud messaging

* since the app asks for permissions, let's enable this after configuring the APN

* remove monorepo building as it doesn't affect app build success

* add flags to expose build issues

* fix hermes path

* fix hermes path for emulator and bundle build
2025-06-07 07:36:06 -07:00
Seshanth.S🐺
aaca2b0d18 SEL-402 fix: NFC crash (#597)
* fix: handle unwrap

* update NFCPassportReader commit to add more logs
2025-06-06 13:50:00 -07:00
turnoffthiscomputer
45bb72d097 Fix/mock passports flow (#598)
* dont look for alternatives csca during the disclosure proof

* update podfile,lock

* yarn nice
2025-06-06 18:10:47 +02:00
Justin Hernandez
6d27b365c7 Bump build to test PACE polling (ios 127; android 66) (#591)
* bump builds

* update env.sample with new env vars, and add _NFC to mixpanel nfc var

* remove NDEF so we can keep target sdk version at 15

* add sort package json command

* sort all project package.json files

* enable hermes

* disable hermes

* revert disabling

* remove hermes
2025-06-06 07:29:26 -07:00
Seshanth.S🐺
09d06eba2e fix: Connection Modal (#596) 2025-06-06 12:02:15 +02:00
Justin Hernandez
2da532d221 SEL-346: fix android cloud backup (#589)
* setup google web client id

* update env sample

* setup new env

* remove old keystore

* new debug keystore

* update podfile lock
2025-06-04 22:09:17 -07:00