Commit Graph

3066 Commits

Author SHA1 Message Date
Justin Hernandez
8ba5b5ebf3 refactor: reorganize and rename mobile screens (#1207)
* refactor(screens): reorganize screen directories

* fix types, linting

* udpates

* fix lint issues

* fix vite

* pr feedback and fix missing bundle resolution

* remove b4a; breaks build

* update gemfile.lock

* use DocumentNotFound screen
2025-10-08 19:27:20 -07:00
Vishalkulkarni45
c5d0e5d323 Custom build circuit (#1242)
* feat: add serbia dsc to build

* feat: add run-id to download artifacts

* fix: circom dep import path
2025-10-08 21:03:17 +05:30
Leszek Stachowski
8cbb7c252e Mobile SDK: NFC scanning through SelfClient (#1214) 2025-10-08 16:03:02 +02:00
Nesopie
5d63c60457 fix: use an empty array if forbidden countries are not specified (#1239) 2025-10-08 16:18:17 +05:30
Vishalkulkarni45
a23bdc463c custom circuit build (#1238)
* feat: update particular circuit type

* feat: script to build single circuit

* feat: update single circuit build artifact

* feat: support for multiple circuit name build
2025-10-08 16:05:02 +05:30
Aaron DeRuvo
bbf340cf4d setup for us to have svgs in the mobile sdk (#1230)
* setup for us to have svgs in the mobile sdk

* never again
2025-10-08 09:31:33 +02:00
Justin Hernandez
3b4c937b73 refine mobile deploy auto pr logic (#1234)
* refine mobile deploy auto pr logic

* remove env check

* fix get-version
2025-10-07 21:29:43 -07:00
Justin Hernandez
d0c58998b7 refine mobile deploy auto pr logic (#1234)
* refine mobile deploy auto pr logic

* remove env check

* fix get-version
2025-10-07 20:01:53 -07:00
Justin Hernandez
fecfc6b1b2 Working demo app mrz scan screen (#1232)
* Add camera permission to demo manifest

* save wip

* save buidling wip

* enable camera

* working mrz scan

* cr feedback
2025-10-07 18:45:20 -07:00
Justin Hernandez
b5b0ba58cd Merge pull request #1228 from selfxyz/ci/bump-ios-build-18302877471
chore: bump iOS build for 2.6.9
2025-10-07 14:18:21 -07:00
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
transphorm
2576d8d040 chore: incrementing ios build number for version 2.6.9 [github action] 2025-10-07 05:58:45 +00:00
Justin Hernandez
5f47f248bd Merge pull request #1226 from selfxyz/justin/chore-fix-staging-build-version0v269
fix build version for v2.6.9
2025-10-06 22:21:03 -07:00
Justin Hernandez
9cc5d909ad address missing main commits in dev (#1227) 2025-10-06 21:35:55 -07:00
Justin Hernandez
c70ead35c3 fix build version 2025-10-06 21:26:56 -07:00
Justin Hernandez
721a3dcf55 Merge pull request #1225 from selfxyz/justin/test-ios-mobile-deploy-v269
chore: fix mobile auto deploy v2.6.9 rd2
2025-10-06 21:12:45 -07:00
Justin Hernandez
66b4dce1a6 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:04:15 -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
1f51a5feb0 Merge pull request #1220 from selfxyz/justin/cherry-pick-ios-lottie-animations-fix
release: iOS bugfix build v2.6.9
2025-10-06 15:46:51 -07:00
Justin Hernandez
8acb2d675c fix demo app tests (#1223) 2025-10-06 15:10:06 -07:00
Justin Hernandez
1ff5787ef9 bump version 2.6.9 (#1221) 2025-10-06 14:28:19 -07:00
Justin Hernandez
f5bbd5ed49 bump version 2.6.9 (#1221) 2025-10-06 14:26:15 -07:00
Justin Hernandez
a186c1564a chore: allow mobile "deploy only" labels (#1219)
* add only triggers

* tweak release

* formatting
2025-10-06 14:16:26 -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
ab978815ce fix ios lottie animations with delay (#1218) 2025-10-06 14:07:05 -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
48f8d79f49 Merge pull request #1194 from selfxyz/justin/chore-update-staging-with-id-picker
chore: update staging; release id picker `v.2.6.8`
2025-10-02 20:13:15 -07: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