Commit Graph

1390 Commits

Author SHA1 Message Date
Justin Hernandez
03635abaaf chore: add kmp license headers; update license year range (#1752)
* add kmp license headers and update year

* formatting
2026-02-15 16:56:06 -08:00
Evi Nova
3298e13e60 refactor: remove blur on document when selected + show old view ID data (#1747)
* refactor: remove blur on document when selected

* fix: show original 'view ID data'
2026-02-14 09:34:08 +10:00
github-actions[bot]
c158869725 chore: bump mobile app version to 2.9.16 (#1746)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-12 19:26:50 -08:00
Justin Hernandez
eee830b7ea agent feedback (#1744) 2026-02-12 17:35:54 -08:00
Justin Hernandez
2495b7af4d bump to 2.9.16 (#1740) 2026-02-12 14:46:53 -08:00
Justin Hernandez
de8787ef1a chore: enable sumsub (#1737)
* enable sumsub

* bugbot feedback
2026-02-12 14:42:18 -08:00
Justin Hernandez
575566f7f2 chore: less flaky nfc test (#1738)
* attempt to make test less flaky

* fix flaky test again

* lint
2026-02-12 14:24:07 -08:00
Justin Hernandez
7c49a3261f chore: address additional sumsub feedback (#1735)
* agent feedback

* fix settings screen color
2026-02-12 11:09:22 -08:00
Leszek Stachowski
abf01c82c0 Show badge for inactive documents (#1487)
* Show badge for inactive documents

* fix

* refactor to use the new flag

* add inactive check to ProveScreen

* lint

* fix for proving button not working

* use new qrHashlogic

* increase bundle size threshold to 46MB

* remove commented out line

* add kyc related changes

---------

Co-authored-by: seshanthS <seshanth@protonmail.com>
2026-02-12 11:05:47 -08:00
Justin Hernandez
ec8b8fc419 refactor(app): share homescreen card dimensions (#1733)
* refactor(app): share homescreen card dimensions

* formatting

* fix logic
2026-02-11 15:56:15 -08:00
Justin Hernandez
3ba1d33fbe chore: agent points hook feedback (#1727)
* agent points feedback

* agent feeddback
2026-02-11 15:35:14 -08:00
Seshanth.S
886e02f53d SELF-1938 sumsub integration (#1661)
* Sumsub: Update keychain and types

* sumsub: ProvingMachine changes - WIP

* fix: remove duplicate identifier

* update proving machine

* Refactor && Continue onchain registration if user left the app

* fix register flow

* Add hooks to KycSuccessScreen

* Integrate KycVerifiedScreen (#1686)

* Integrate KycVerifiedScreen & Fix race conditions

* yarn lint

* lint

* lint

* add mock kyc

* fix disclose flow

* yarn lint

* Feat/add kyc home screen card design (#1708)

* feat: add new designs to the kycIdCard

* refactor: Update KycIdCard design to match IdCard styling

* feat: update document cards + dev document

* feat: update empty id card for new design

* feat: update pending document card design

* feat: update expired doc + unregistered doc cards from new design

* fix: unregisted id card button links to continue registration screen

* fix: logo design on document cards

* feat: add 6 different backgrounds for ids

deterministically shows 1 of 6 backgrounds for each document | fix: fixed document designs not displaying correctly.

* chore: trigger CI rebuild

* feat: Integrate PendingIdCard to Homescreen

* fix KycIdCard.tsx

---------

Co-authored-by: seshanthS <seshanth@protonmail.com>

* lint

* fix tests

* fix: cleanup only on unmount

* coderabbit comments

* fix: cleanup unused code

* fix: edge case for German Passports with D<< nationality code

* fix tests

* review comments

* review comments

* lint

* Hide duplicated cards in Homescreen

* remove console.log

* fix patch

* remove unused vars

* agent updates

* agent feedback

* abstract colors and formatting

* agent feedback

* Regenerate Sumsub patch-package patch

* fix: handle malformed kyc payload in card background selector

* re-add for clean up

---------

Co-authored-by: Evi Nova <66773372+Tranquil-Flow@users.noreply.github.com>
Co-authored-by: Evi Nova <tranquil_flow@protonmail.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2026-02-11 13:51:10 -08:00
Justin Hernandez
2a583f72c7 chore: update fastlane to 2.232.0 (#1723)
* udpate fastlane

* audit gems
2026-02-09 17:14:49 -08:00
Justin Hernandez
2fbd39f5eb chore: remove microphone permission; release new build for 2.9.15 (#1724)
* remove microphone permission

* bump build to 142
2026-02-09 16:58:20 -08:00
github-actions[bot]
63e4fdb111 chore: bump mobile app version to 2.9.15 (#1722)
* chore: bump mobile app version to 2.9.15

Update build numbers and deployment timestamps after successful deployment.

* bump android version code

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2026-02-09 15:53:58 -08:00
Justin Hernandez
c886ed19e0 SELF-1959: reset isDecoding on OCR failure (#1720)
* add try catch to set isDecoding on failure

* call mrz listener with failure

* remove redundant log call
2026-02-09 10:12:37 -08:00
github-actions[bot]
ccf3a3e3c5 chore: bump mobile app version to 2.9.15 (#1716)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-09 06:31:40 -08:00
Evi Nova
ac69e328d9 Fix/logo confirmation screen header (#1717)
* fix: logo confirmation screen header matching background

* refactor: match code patterns in logo confirmation screen to others

use Tamgui instead of react-native, don't show raw errors, inline objects
2026-02-09 12:43:46 +10:00
Justin Hernandez
a1b04f2b03 chore: enable SumSub Fisherman device intelligence with privacy compliance (#1714)
* clean up permissions

* updates for permissions

* update permissions and packages

* fix: mark device ID collection as linked in privacy manifest

Address CodeRabbit feedback:
- Set NSPrivacyCollectedDataTypeLinked to true (device signals are tied to applicant identity)
- Clarify Android Data Safety checklist requirements with explicit data-linking declaration

Co-authored-by: Cursor <cursoragent@cursor.com>

* remove for now

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 12:08:08 -08:00
Justin Hernandez
c8191aa60b chore: hide kyc entry points for release 2.9.15 (#1712)
* hide kyc entry points

* formatting
2026-02-06 09:04:51 -08:00
Evi Nova
73ca37f3b9 Feat/add logo confirmation screen (#1666)
* feat: initial logoConfirmation screen

* fix: center text in buttons

* fix: ensure biometric logo is not cropped

* fix: add spacing to logo confirm screen, consistent padding for buttons

* feat: add popup to logo confirmation screen

* fix: handle Sumsub cancellation correctly in Other ID flow

* feat: add pathway from logo confirmation -> sumsub -> success

* feat: add document type pre-selection for Sumsub SDK

* feat: add KycFailureScreen for when user clicks on failure notification

* feat: add KycConnectionErrorScreen for sumsub_initiation error

* refactor: edit RegistrationFallbackScreen for new design

Now only to be used for MRZ/NFC scan errors, instead of kyc connection/registration issues. Also updated to newest design for screen from Figma

* refactor: update AadhaarUploadErrorScreen for new design

* fix: removed unused countryCode variable and useRoute import

* fix: Sorted imports (moved kyc after documents/selection imports)

fix CI

* chore: lint/prettier

* fix: CI error

* refactor: Split RegistrationFallbackScreen into MRZ/NFC error versions

* feat: add link from RegistrationFallbackNFCScreen -> DocumentNFCTrouble

Clicking on the question mark now takes user to this screen that can help them diagnose issue

* fix: on clicking question mark, dismiss screen returns to correct screen

* chore: yarn prettier

* test: fix failing test for CI
2026-02-06 22:27:50 +10:00
Justin Hernandez
141fcb67c3 chore: accept xcode suggestions 2026 02 (#1711)
* xcode suggestionsn rd1

* disable sandbox
2026-02-05 14:25:00 -08:00
Justin Hernandez
7acc9bb2a6 chore: fix failing mobile demo ios e2e tests (#1710)
* fix failing mobile demo ios e2e tests

* temp test

* add patch. update files

* run demo e2e patch

* sort package json

* disable running on dev
2026-02-05 13:15:05 -08:00
Justin Hernandez
63fd92da95 chore: clean up navigation index (#1703)
* abstract nav types

* fix points flow callbacks
2026-02-05 09:07:09 -08:00
Justin Hernandez
e2fae7d62e update build number and updae gemfile lock (#1706) 2026-02-04 20:53:39 -08:00
Justin Hernandez
c8be12475f enable foreground service permissions (#1705) 2026-02-04 16:50:53 -08:00
github-actions[bot]
21a5a9a52c chore: bump mobile app version to 2.9.15 (#1704)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-04 16:40:51 -08:00
Justin Hernandez
4eecd2a065 chore: address ITMS-90738 (#1702)
* fix ITMS-90738

* update description
2026-02-04 11:31:10 -08:00
Justin Hernandez
cbc6c84546 chore: bump version to 2.9.15 (#1700)
* bump version

* disable for now to test deployment
2026-02-04 10:40:57 -08:00
Justin Hernandez
9ab75b556e chore: add android foreground services permissions for firebase cloud messaging (#1696)
* add android foreground services permissions

* bump ios version
2026-02-04 09:11:23 -08:00
github-actions[bot]
6e8ba09c0b chore: bump mobile app version to 2.9.13 (#1690)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2026-02-04 07:14:58 -08:00
Justin Hernandez
bbf6534e63 bump build number to match (#1691) 2026-02-03 22:53:07 -08:00
Justin Hernandez
0debcac648 wrap with error boundary (#1688) 2026-02-03 14:09:23 -08:00
Justin Hernandez
b3d40d791a SELF-1951: prep for sumsub release (#1680)
* enable sumsub in mobile sdk

* refactor dev settings screen

* combine sections

* agent feedback

* gate kyc button on troubel screens

* inline simple sections
2026-02-03 13:29:16 -08:00
Leszek Stachowski
2ebf7918c7 chore: self UUID namespace as a const (#1685) 2026-02-03 17:14:34 +05:30
Justin Hernandez
8b87ba36ab [SELF-1952] UI: Create KYC verified screen; prompt to enter proving flow (#1681)
* first pass at kyc verified screen

* finalize kyc verified design

* add queue buffer
2026-02-02 16:34:08 -08:00
Evi Nova
ebdc639c88 fix: resolve issue from losing connection mid proof verifcation (#1627)
* fix: resolve issue from losing connection mid proof verifcation

* fix: properly clean up socket resource to prevent memory leak

* fix: proper memory leak fix + have both proactive/reactive reconnection

* fix: reset scroll state on QR scans and improve WebSocket reconnection handling

* chore: yarn fmt
2026-02-03 08:00:19 +10:00
Leszek Stachowski
a6c84d80f7 feat(kyc): register fcm token for sumsub verification (#1673)
* feat(kyc): register fcm token for sumsub verification

* fix tests

* remove unused import

* fix lint
2026-01-30 09:35:32 -08:00
Justin Hernandez
ec7ad1e66d SELF-1932: sumsub success screen (#1667)
* fix typos

* typo

* match screen design. fix tests
2026-01-28 21:27:22 -08:00
Justin Hernandez
c7c9985d91 SELF-1889: Initiate Sumsub during onboarding error flows (#1662)
* integrate sumsub into error flows

* formatting

* fix test

* format

* clean up

* udpate flows

* agent feedback

* updates

* save wip updates

* clean up design

* updates

* lint

* agent feedback

* formatting

* fix
2026-01-28 20:10:50 -08:00
Justin Hernandez
8da076cf0d Bump Babel, TypeScript, React Native and assorted dependencies; refresh lockfile (#1606)
* Update dependency versions

* Fix gesture handler Android dependency (#1611)

* Patch screens codegen type (#1609)

* Downgrade Sentry React Native (#1612)

* fix patches and packages

* downgrade versions for gesture handler and screens

* agent feedback

* fix ios building

* allow ios tets to pass

* formatting

* make cache more resilient

* Address CodeRabbitAI review comments

This commit addresses all 7 unresolved CodeRabbitAI comments on PR #1606:

Patch-package error handling (comments #1, #2, #3):
- stderr capture already implemented in both root and workspace patch runs
- Add CI warning when patches fail silently instead of exiting with 0
- Log completion status in CI mode for visibility

Critical Mixpanel dependency fix (comment #5):
- Add explicit Mixpanel-swift pod declaration to fix E2E build failures
- Ensures Mixpanel is available even when NFCPassportReader is skipped during E2E testing

React-native-web validation (comment #4):
- Verified no usage of deprecated findNodeHandle, pointerEvents: 'box-none', or createPortal
- Safe to upgrade from 0.19 to 0.21.2

CI workflow improvements (comments #6, #7):
- Create cache-sdk-build composite action for consistent SDK build artifact caching
- Replace all direct actions/cache@v4 usage with cache-yarn composite action
- Replace all direct actions/cache/restore@v4 and save@v4 with cache-sdk-build
- Add nested require() validation step before tests to fail fast on problematic patterns

All changes follow repository coding guidelines for CI caching and test memory optimization.

* Extend cache composite actions to all SDK workflows

This commit extends the caching standardization from PR #1606 to include
mobile-sdk-ci.yml and core-sdk-ci.yml workflows.

New composite actions created:
- cache-mobile-sdk-build: For mobile SDK build artifacts
- cache-core-sdk-build: For core SDK build artifacts

Workflow updates:
- mobile-sdk-ci.yml: Replaced 5 instances of direct actions/cache with cache-mobile-sdk-build
- core-sdk-ci.yml: Replaced 4 instances of direct actions/cache with cache-core-sdk-build

All SDK CI workflows now use consistent caching patterns via composite actions,
following the AGENTS.md guideline: "Use shared composite actions from .github/actions
for CI caching instead of calling actions/cache directly."

Benefits:
- Consistent caching across all SDK workflows (qrcode, mobile, core)
- Centralized cache configuration - easier to maintain
- Follows established patterns from qrcode-sdk-ci.yml

* downgrade react-native-svg

* update pod lock file

* sort
2026-01-28 12:47:32 -08:00
Leszek Stachowski
80d9e2d625 [SELF-1891] feat(kyc): Other IDs button (#1660)
* feat(kyc): Other IDs button

* trigger sumsub flow directly from event listener

* formatting

* formatting

* add todo

* add feature flag

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2026-01-27 14:03:36 -08:00
Justin Hernandez
ba856226d8 SELF-1812: integrate sumsub into mobile app (#1650)
* sumsub initial pass

* add sumsub tee url

* agent feedback and fixes

* update lock

* agent feedback

* fix types

* agnet feedback

* fix mock

* agent feedback

* lazy load sumsub screen

* white button color

* fix lint

* add debug url link

* allow us to see recordings

* debug maestro run

* disable e2e screen recording for now. don't load sumsub logic when running e2e test

* remove lazy loading

* skip installing sumsub plugin

* retest ios e2e

* get e2e tests passing

* clean up
2026-01-26 14:06:36 -08:00
Justin Hernandez
d708d85982 Unify local e2e logic (#1651)
* format

* pr feedback
2026-01-26 05:43:45 -08:00
Evi Nova
27d067c180 fix: implemented fix for skipped nfcScanner tests on ios and android (#1628)
* fix: implemented fix for skipped nfcScanner tests on ios and android

* chore: yarn prettier
2026-01-26 16:04:53 +10:00
github-actions[bot]
d69fda1e4d chore: bump mobile app version to 2.9.13 (#1645)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-22 15:12:01 -08:00
github-actions[bot]
859b8b1756 chore: bump mobile app version to 2.9.13 (#1643)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 21:27:46 -08:00
Justin Hernandez
57c7df4ae3 chore: downgrade react-native-screens to fix iOS deploy (#1641)
* match ios version for deploy

* download react-native-screens to fix ios deploy
2026-01-21 20:56:02 -08:00
github-actions[bot]
c77a7db3f9 chore: bump mobile app version to 2.9.13 (#1640)
Update build numbers and deployment timestamps after successful deployment.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 16:45:07 -08:00
Justin Hernandez
7e96ee5d94 match ios version for deploy (#1638) 2026-01-21 16:22:00 -08:00