Commit Graph

2844 Commits

Author SHA1 Message Date
seshanthS
71c5160548 use BOM 2025-10-10 22:18:41 +05:30
seshanthS
81b9c03568 feat: use prebuilt modules 2025-10-09 00:31:09 +05:30
Aaron DeRuvo
f7c5ef0e74 MOVING COUNTRIES: (#1229)
* wip

* move colors

* sort the dev screen menu alphabetically. for sanity

* lint

* move country hooks to sdk

* added peer dep

* add as dev dep

* remove SelfMobileSdk component before someone thinks that it should be used

* mock it like before
2025-10-07 15:05:33 +02:00
Justin Hernandez
9cc5d909ad address missing main commits in dev (#1227) 2025-10-06 21:35:55 -07:00
Justin Hernandez
f68c9b0d74 chore: fix build versions v2.6.9 and mobile deploy fork pr source (#1224)
* chore: bump iOS build number to 179

* fix: use PR source commit for deployment to get correct version.json

When deploying from a PR merge (e.g., dev → staging), now uses the source
branch's commit instead of always checking out staging. This ensures
version.json has the correct bumped build number from the previous
deployment's PR back to dev, preventing 'build number already exists' errors.

* downgrade to match store

* fix: use merge_commit_sha instead of head.sha for deployments

Use github.event.pull_request.merge_commit_sha instead of head.sha to ensure
we deploy exactly what landed on staging after the merge, not just the source
branch state. This correctly handles:
- Conflict resolutions made during merge
- Any staging-only changes
- The actual state of staging post-merge

The merge commit still includes the updated version.json from the source
branch (e.g., dev), so build numbers remain correct while ensuring we deploy
and tag the true staging state.

Co-authored-by: CodeRabbit <hello@coderabbit.ai>

---------

Co-authored-by: CodeRabbit <hello@coderabbit.ai>
2025-10-06 21:02:50 -07:00
Justin Hernandez
8acb2d675c fix demo app tests (#1223) 2025-10-06 15:10:06 -07:00
Justin Hernandez
f5bbd5ed49 bump version 2.6.9 (#1221) 2025-10-06 14:26:15 -07:00
Justin Hernandez
66cd766d79 chore: allow mobile "deploy only" labels (#1219)
* add only triggers

* tweak release

* formatting
2025-10-06 14:15:25 -07:00
Justin Hernandez
cebd67d548 fix ios lottie animations with delay (#1218) 2025-10-06 14:01:27 -07:00
Justin Hernandez
cf20b87415 Fix release workflow PR body generation (#1217) 2025-10-06 12:44:06 -07:00
Seshanth.S
be5f7811cb Fixes: view document info screen (#1201)
* add aadhar to DocumentInfoScreen instead of showing empty fields

* fix: clicking icon on first row of settingScreen navigates back

* review comments
2025-10-06 18:39:06 +05:30
Leszek Stachowski
bebea4c070 chore: fix dev build (#1213) 2025-10-06 13:07:11 +02:00
Seshanth.S
ffd4c4c568 Fix Camera issues (QR code) (#1120) 2025-10-06 16:02:45 +05:30
Justin Hernandez
e4dab8b820 SELF-808: Implement document camera MRZ demo screen (#1204) 2025-10-06 12:16:42 +02:00
Evi Nova
bea9b7eff5 Feat/update contract scripts (#1212)
* chore: add a verifier script

* chore: remove expirty and add update registry script

* chore: change script to the new aadhaar contract

* chore: add new deployed addresses

* fix: tests

* feat: add scripts for registries and the hub

* feat: add aadhaar registry

* feat: add more scripts

* chore: rm logs

* fix: hardhat config

* update scripts

* fix: test

* accept proofs 1 day in the future

* fix: prettier formatting issues in contracts and circuits

---------

Co-authored-by: ayman <aymanshaik1015@gmail.com>
Co-authored-by: Ayman Mohammed <ayman@Aymans-MacBook-Pro.local>
2025-10-06 11:45:22 +02:00
Justin Hernandez
073f77cc98 Address edge-to-edge Google Play Store warnings (#1205)
* Handle camera overlay window insets

* Adopt AndroidX edge-to-edge helpers
2025-10-04 09:29:04 -07:00
Justin Hernandez
efacb8db94 fix lint issues (#1208) 2025-10-04 09:20:21 -07:00
Justin Hernandez
0d3439fb59 test: add mobile sdk demo vitest tests (#1203)
* test: restore mobile sdk demo vitest suites

* save fixes

* test: expand mobile sdk demo screen coverage

* fix lint and types

* update packages

* reset test
2025-10-03 21:58:14 -07:00
Seshanth.S
ad009394eb Hotfix/audit fixes (#1193)
* Fix - Application Allows Cleartext Traffic

* Fix: Insecure Keychain Protection Class

* fix: Local Authentication Bypass

* remove console.logs

* feat: Add migrateToSecureKeychain function placeholder for web

* Improve clearText traffic fix

* update review comments

* update review comments
2025-10-03 22:53:11 +05:30
Justin Hernandez
c68ef2b79e fix pr paths and base branch; update build versions (#1202) 2025-10-03 07:35:24 -07:00
Vishalkulkarni45
b3f93afb68 feat: add dsc_sha384_rsapss_65537_48_3072 (#1197)
* feat: add dsc_sha384_rsapss_65537_48_3072

* fix: aadhaar tests

* chore: fix import
2025-10-03 19:39:19 +05:30
Aaron DeRuvo
a00cb7e58d move common aadhaar functions to msdk (#1200)
* move common aadhaar functions to msdk

* remove comment

* add license headers
2025-10-03 14:37:53 +02:00
Aaron DeRuvo
187fc185e2 Adds missing check for typescript types to app ci (#1198)
* fix app types and add a ci check

* fix lint check.
2025-10-03 14:27:30 +02:00
Aaron DeRuvo
429d9f9569 This screen is part of the document /onboarding screens not the disclose/proof screens (#1199) 2025-10-03 11:53:11 +02:00
Justin Hernandez
318b83fa57 Fix mobile demo app document registration (#1182)
* Enable WebSocket connections in demo client

* save working keychain

* save wip

* save polish tweaks

* downgrade react-native-svg

* abstract components

* onSuccess alert displays only once

* sort by registered first

* add clear all documents button

* formatting and typing

* refresh register document screen after successful registration

* fix double tap on register

* coderabbit feedback

* lock NFCPassportReader to commit

* remove react native picker

* remove lock

* minor fixes
2025-10-02 18:27:11 -07:00
Leszek Stachowski
f2cceb3150 expose useReadMRZ hook for DocumentCameraScreen (#1188) 2025-10-03 00:26:40 +02:00
Leszek Stachowski
c1d30d153a separate MRZ data from userStore (#1187) 2025-10-02 21:40:48 +02:00
Justin Hernandez
0c6a6cb2e6 lock react-native ios Podfile versions (#1192) 2025-10-02 12:07:28 -07:00
turnoffthiscomputer
eedbc8d940 add suggestion in the country picker (#1191) 2025-10-02 19:28:24 +02:00
turnoffthiscomputer
0a04f44682 Add LoadingUI and DevLoadingScreen components for enhanced loading ex… (#1189)
* Add LoadingUI and DevLoadingScreen components for enhanced loading experience

- Introduced LoadingUI component with customizable animation, action text, and progress indicators.
- Created DevLoadingScreen to facilitate development testing with state selection and loading feedback.
- Updated navigation to include DevLoadingScreen in the dev tools.
- Adjusted loading screen logic to improve user experience during document processing.
- Enhanced loading text management to provide clearer feedback based on current state.
- Added new SVG icon for the loading UI.

This commit improves the overall loading experience in the app, making it more user-friendly and visually appealing.

* Update navigation tests to include DevLoadingScreen for improved development experience
2025-10-02 19:27:27 +02:00
Justin Hernandez
6d935c4c62 Restore mobile build bump PR automation (#1186)
* Remove mobile build bump preview steps

* fix pr logic

* bump version
2025-10-02 07:42:42 -07:00
Aaron DeRuvo
25634e06dc create nice structure for the mobile sdk (#1177)
* create nice structure for the mobile sdk

* spv

* actually dont touch what we dont understand

* fix metro

* fix pretty

* fix types on app and imrpove names

* sneek in actually checking the types in the mobile app.

* not yet

* fix jest imports and name test better
2025-10-02 09:34:22 +02:00
Justin Hernandez
49b0e5529e simplify mobile demo app screens (#1183)
* update layout structure

* fix timeout

* feedback
2025-10-01 21:19:39 -07:00
Justin Hernandez
79fdd04f18 chore: fix prettier v268 (#1181)
* chore(common): format files with Prettier to satisfy CI lint

* security(demo): guard @noble/hashes resolver against path traversal in Metro
2025-10-01 16:38:10 -07:00
Justin Hernandez
a909ebf402 fix podfile.lock (#1180) 2025-10-01 16:19:38 -07:00
Justin Hernandez
fd1f008719 chore: address staging branch issues pr #1169 (#1178)
* fix ios run

* small fixes
2025-10-01 16:12:50 -07:00
turnoffthiscomputer
422d0cc259 App/id picker flow (#1126)
* add new id picker flow

* refactor: update document management screen actions

- Renamed `handleScanDocument` to `handleAddDocument` for clarity.
- Updated navigation from 'DocumentOnboarding' to 'CountryPicker'.
- Removed unused `handleAddAadhaar` function and its associated button.

* address pr feedback

* address lint issues

* fix test

* fix typings and screen

* fix e2e button test

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-10-01 10:32:11 -07:00
Leszek Stachowski
3b14f09c30 introduce usePrepareDocumentProof in mobile SDK (#1176)
* introduce usePrepareDocumentProof in mobile SDK

* revert haptic feedback + lint
2025-10-01 15:08:48 +02:00
Aaron DeRuvo
1856c9b325 move fcm token storage (#1175)
* move fcm token from proving store to setting store for better separation of concerns.

* use analytics on adapter

* Revert "use analytics on adapter"

This reverts commit 4854d6fa87.

* prettier

* please be good

* ik heb oopsie wooopsie

* remove
2025-10-01 12:59:00 +02:00
Vishalkulkarni45
9131cd3649 ease ofac check in go-sdk similar to ts-sdk (#1174)
* fix: ofac check

* fix: isOfacValid is false by default
2025-10-01 15:31:13 +05:30
Nesopie
6468ee9cd5 fix: ofac (#1172) 2025-10-01 13:02:30 +05:30
Justin Hernandez
c55112d1e0 chore: add polish to the mobile demo app (#1135)
* Improve demo app safe area handling

* refactor: centralize mobile demo screen navigation

* update lock

* update podfile lock

* fix pipelines

* fix tests

* save wip polish

* polish app

* simplify and standardize screens

* small fixes

* fix tests

* Use SDK SelfClientProvider in demo (#1162)

* fix types

* Fix mobile SDK demo Jest mock

* force react-native-svg to 15.12.1

* fix tests

* add types script

* fix document list

* fix types and metro config

* add ignore files to speed up watchman and eslint

* save wip tweaks

* save mock doc screen wip

* use persistant document store

* save polish work in progress

* add polish to screens

* save wip secure storage

* allow cursor to examine react configs

* convert tests to vitest and fix

* fix tests

* prettier

* cr feedback

* fix tests and remove skipped
2025-10-01 00:16:34 -07:00
Justin Hernandez
871890aa0a undo retry and bump version (#1170) 2025-09-30 18:56:13 -07:00
Justin Hernandez
0e3b4e8ae6 chore: fixes for next deploy v2.6.9 (#1168)
* create pr from dev not staging

* retry upload to google play if it fails
2025-09-30 18:31:55 -07:00
Justin Hernandez
3907a046fc chore: last build bump for v268 (#1166)
* tweak pr flow

* bump versions
2025-09-30 18:04:44 -07:00
Justin Hernandez
2bcb9f46d3 bump version (#1165) 2025-09-30 16:58:30 -07:00
Justin Hernandez
50f670dd5f Justin/fix deploy workflows v268 rd2 (#1159)
* add missing key

* save wip

* update env values. remove slack support

* add enable debug logs
2025-09-30 14:56:56 -07:00
Justin Hernandez
3de7ef3469 chore merging staging into dev v268 (#1158)
* chore: incrementing android build version for version 2.6.8 [github action] (#1141)

Co-authored-by: transphorm <23852+transphorm@users.noreply.github.com>

* chore: incrementing ios build number for version 2.6.8 [github action]

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-30 12:01:05 -07:00
Justin Hernandez
8c6067a57f chore: fix version staging merge v2.6.8 (#1157)
* chore: incrementing android build version for version 2.6.8 [github action] (#1141)

Co-authored-by: transphorm <23852+transphorm@users.noreply.github.com>

* chore: incrementing ios build number for version 2.6.8 [github action]

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-30 11:58:14 -07:00
Justin Hernandez
2e5a531097 update versions. fix flows (#1155) 2025-09-30 11:55:14 -07:00