Commit Graph

2331 Commits

Author SHA1 Message Date
Justin Hernandez
3f3db3c8da SEL-255: improved loading screen with estimated wait times (#550)
* create new loading screen and rename static to misc

* fix route

* save wip loading screen

* save wip animation

* save static wip design

* continue

* splash

* add a loading screen text helper

* add test for loading screen text

* save wip. almost there

* update haptic logic

* better feedback and add dev scren

* save current work

* update text logic and tests

* load passport metadata in loading screen

* simplify and fix tests

* test for additional exponents

* add new animation

* rename file

* consolidate ui useEffect and fix loading screen layout

* fix current state

* remove mockPassportFlow param

* merge new loading screen and new notification logic

* simplify

* update lock

* use passportMetadata instead of metadata

* save simplification

* update loading text based on pr feedback and tests
2025-05-16 09:45:56 -07:00
Seshanth.S🐺
9ed51fd722 feat: Use vision for MRZ scanning (SEL-47) (#557)
* feat: Use vision for MRZ scanning

* modify label to position the smartphone during the OCR scan

---------

Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
2025-05-16 18:28:36 +02:00
turnoffthiscomputer
7ff89d5b16 Fix deeplink 2 (#560)
* fix deeplink

* fix deeplink

* yarn nice
2025-05-16 18:05:18 +02:00
nicoshark
3db25aa469 Push notification (#536)
* add push notification feature

* merge new app impl

* change dsc key

* import

* reverse mock dsc

* worked in the ios

* checked in android

* update url and delete console

* delete small changes

* lint

* add yarn.lock

* fix warning message

* add mock notification service for test code

* fix path for the mock implementation

* add mock deeplink to the test code

* nice notificationServiceMock.js

* delete unused firebase related implementation

* fix wording and UI related to notification service

* hotfix on mockdatascreen

---------

Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
2025-05-15 23:46:21 +02:00
turnoffthiscomputer
2bedf095b7 log more dsc info (#558) 2025-05-15 13:49:11 +02:00
turnoffthiscomputer
73f3814170 Eth dublin (#554)
* add mock id card generator

* add genMockIdDoc in common/sdk exports

* onboard developer id using deeplink, allow custom birthdate on mockpassport
2025-05-13 23:58:56 +02:00
Justin Hernandez
2ff57e2e52 bump build (#552) 2025-05-12 18:29:13 -07:00
Justin Hernandez
a08904b50c Clean up navigation and setup Jest (#549)
* remove dupe account screens and prefer the term home

* organize screen loading better

* sort keys

* rename screen files wip

* fix deleted directory issues

* rename folders

* fix paths and naming

* save working jest import test

* save base working jest navigation test

* finalize navigation refactor and jest test

* update test name and podfile lock

* remove unused packages

* use the correct version of react test renderer
2025-05-09 10:17:12 -07:00
Justin Hernandez
4ff4c23a2f better connection check (#548) 2025-05-07 11:13:51 -07:00
turnoffthiscomputer
cc169061bd add common sdk (#537)
* add common sdk

* remove sdk backend api

* remove registry

* regenerate sha256 rsa dsc each time

* download ski-pem dynamically on staging, refactor initpassportDataParsing

* add state machine for button on prove screen, improve ux on splash screen

* fetch ski-pem in production

* fix linter issues

* fix prove screen button bugs

* update podfile.lock and yarn.lock

* run linter in circuits repo

* bump build

* bump version for sentry debugging

* bump ios to version 118

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-05-07 11:45:21 +02:00
Justin Hernandez
5163761a52 allow a scale of up to 1.3 (#546)
* allow a scale of up to 1.3

* update lock files

* clean up unused imports

* fix settings
2025-05-05 18:00:28 -07:00
Seshanth.S🐺
7e89698e74 feat: Add Disclose history (#533)
* feat: Add Disclose history

* fix: Duplicate history in list

* fix: Outdated disclosures

* Delete app/ios/Self copy-Info.plist
2025-05-02 13:53:27 +02:00
nicoshark
f5e243cf9c update staging registry address (#545) 2025-04-30 21:43:10 +02:00
nicoshark
2d8c780698 add delete scripts (#542) 2025-04-29 20:55:22 +02:00
Justin Hernandez
ec6c2cae72 SEL-178: Improve haptic feedback library (#535)
* fix dev settings typing

* add dev screens file

* save haptic feedback progress

* change ordedr

* fix initial route and add haptic feedback screen to dev settings options
2025-04-29 20:43:14 +02:00
Justin Hernandez
b1b6c201b4 New bug fix build for v2.5.1 (#540)
* bump new build for dev fixes

* update lock

* reinstall before running local deploy
2025-04-28 15:22:45 -07:00
turnoffthiscomputer
81fd3e86e7 fix splash screen error (#539) 2025-04-28 17:57:46 +02:00
turnoffthiscomputer
af44cd8750 Fix/proving machine endpoint type (#538)
* store endpoint type in proving machine

* yarn nice
2025-04-28 17:57:37 +02:00
turboblitz
bb1540e007 fix italy (#530) 2025-04-27 19:44:07 +02:00
James Niken
f0d2f6d94e ci: bump actions/checkout to v4 (#529)
* make contract sdk simpler (#514)

* make contract sdk simpler

* reduce root inputs

* delete convert function

* summarize our library

* update npm package

* update package version

* update attestation id

* add util function to get revealed data

* Revert "make contract sdk simpler (#514)" (#518)

This reverts commit 847b88d5ec.

* ci: bump actions/checkout to v4

---------

Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
2025-04-26 13:00:53 -07:00
turnoffthiscomputer
f5e45af0cf display error animation on failure on loading screen (#532)
* display error animation on failure on loading screen

* remove log

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-04-25 06:25:44 -07:00
Justin Hernandez
fdfc0534fb Bump build versions for 2.5.1 (#531)
* release new builds

* fix app and build versions

* fix env check
2025-04-25 05:48:38 -07:00
turnoffthiscomputer
0bf324e639 Feat/extend id support (#517)
* refactor proving impleting xstate, speedup proving

* add disclosure proof support

* keep refactoring provingMachine, clean old implementation

* call init method when switching from dsc to register

* rebase with dev to display why the proof verification failed

* refactor ws connexion between front-end and mobile to retrieve self-app

* update the webclient at proofVerification and use selfAppStore in provingMachine

* fix provintStore.init in ProveScreen

* yarn nice

* fetch data correctly in splash screen
2025-04-24 05:55:47 -07:00
Justin Hernandez
0d7d1170f3 SEL-187: Make bottom layout scrollable on smaller screens (#525)
* fix design check

* add an option to disable local sending of sentry events

* better sentry enable / disable

* fix scan passport height

* make bottom layout scrollable so it doesn't squish top screen

* simpler logic check. don't create new env var

* fix internet connection issues

* readd comment

* use isConnected instead of internet reachable

* use a dynamic bottom panel height

* add missing recovery screens

* move aesop below

* remove dupe export

* fix rebase

* fix android package download issue
2025-04-23 18:28:02 -07:00
turnoffthiscomputer
57cb54a936 remove artefacts 2025-04-21 23:40:32 +02:00
Justin Hernandez
3c51feafdf DX: Auto format on save (#526)
* save wip

* use elint instead of prettier to sort imports

* set imports to warn

* sync prettier settigns

* update prettier settings

* save working version

* fix export and disable mobile pipeline for now

* limit auto formatting to the app folder
2025-04-21 22:10:56 +02:00
crStiv
28ec407e49 fix: improve error handling for forbidden countries list mismatch (#494)
* Update SelfBackendVerifier.ts

* Update constants.ts

* Update formatInputs.ts

* Update formatCallData.ts
2025-04-18 22:18:06 +09:00
Justin Hernandez
91d86b6fdb [SEL-46] FE: Add minimum bottom padding (#510)
* fix bottom padding for smaller screens

* fix podfile post install hook permissions check

* update pod lock and disable git commit action step for now

* update lock

* fix flaky android downloads that causes pipeline to crash
2025-04-18 14:36:43 +02:00
Justin Hernandez
35221386da [SEL-154] Step 1: Scan your passport (#511)
* simplify navigation logic

* use aesop design hook

* save wip

* add new aesop redesign screens

* save wip design

* refactor nav bar logic

* fix paths

* save wip

* stub progress navbar and save wip

* save wip progress bar animation

* save wip progress bar, almost done with design

* fix progress bar design

* fix bottom padding

* disable git commit for now

* fix flaky android downloads that causes pipeline to crash

* update lock for ci
2025-04-18 14:35:52 +02:00
Justin Hernandez
7297659a30 Bump version to 2.5.1 (#522)
* bump version

* update fastlane

* fix bump version

* bump build and add todo

* disable commit for now
2025-04-17 21:09:40 +02:00
nicoshark
b2a5ef0346 forgot to include package update (#521) 2025-04-18 00:17:58 +09:00
turnoffthiscomputer
5904234d2e Feat/simpler contract sdk (#519)
* make contract sdk simpler

* reduce root inputs

* delete convert function

* summarize our library

* update npm package

* update package version

* update attestation id

* add util function to get revealed data

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-04-17 16:06:49 +02:00
turboblitz
dc5529b507 Fix input generation for 521bit curves (#481)
* fix EC point padding for 521 bit curves

* rename modulus to point in findStartIndexEC as it is a point

* simplify matching logic

* simplify padding logic

* remove comment

* remove log

removing .only so the CI/CD runs circuit tests

fix disclosure test

fix scope in test

fix scope error in circuit tests

remove .only

fix test

* run ci/cd
2025-04-17 09:59:13 +02:00
Seshanth.S🐺
8fe32d8200 Feat: Show error code in SDK (#500)
* feat: emit `error_code` and `reason` in app

* feat: add `onError` in sdk

* feat: Display reason in app

* lint & fmt

* feat: add scrollview in ProofRequestStatusScreen for long reasons
2025-04-15 08:53:57 +02:00
Justin Hernandez
a3dc3bcfd1 feat: automated mobile deployments rd2 (#498)
* migrate build logic from previous branch

* fix command

* move .actrc file

* clean up

* use env vars

* setup provisioning profile path within action

* fix flow

* fix fastfile flow and update react native

* disable play store uploading

* hard code xcode version

* fixes

* more provisioning debugging

* fix keychain path

* set keychain to what was created by the github action

* attempt to build again

* test fix

* print xcode build settings

* debug ios build

* fix xcargs path

* use manual code signing

* save wip

* fix building locally

* fix variable

* save wip

* clean up long comand

* clean up

* install bundle and gems

* install pods

* fix pod installation

* sort

* better naming

* fix android issues

* update lock

* clean up artifacts

* format

* save wip slack upload logic

* prettier

* fix indent

* save wip

* save wip

* save wip

* save wip

* save wip

* clean up

* simplify slack calls

* revert slack logic

* save working slack upload example

* make title nicer

* clean up slack upload

* upload paths

* enable github commit

* fix path

* fix commit step

* fix git committing

* update markdown

* fix git commit rule

* better commit message

* chore: incrementing ios build number for version 2.4.9 [skip ci]

* better name

---------

Co-authored-by: Self GitHub Actions <action@github.com>
2025-04-11 19:51:02 +02:00
turnoffthiscomputer
5c450285c4 bump qrcode version (#508) 2025-04-05 09:23:58 +02:00
turnoffthiscomputer
cb036e8502 Fix rendering issue (#507)
* fix sdk import

* fix core react sdk version issue

* bump version

* bump version and fix rendering issue in the qrcode
2025-04-05 09:21:15 +02:00
turnoffthiscomputer
eb6af37ae0 Fix sdk react version (#506)
* fix sdk import

* fix core react sdk version issue

* bump version
2025-04-05 07:07:04 +02:00
turnoffthiscomputer
64ffa7aefa fix sdk import (#505) 2025-04-04 16:37:25 +02:00
nicoshark
624d0e568d Feat/forbidden countries utils (#504)
* add forbidden countries util function

* remove casting
2025-04-04 18:58:30 +05:30
nicoshark
c00827dafc increment the package version (#503) 2025-04-03 07:35:44 +02:00
nicoshark
83db48508f Add fixed url for the backed sdk (#502)
* add testnet url

* hardcode rpc url
2025-04-03 07:22:59 +02:00
turnoffthiscomputer
1f4cc63324 add self app builder to core sdk (#501) 2025-04-03 03:59:33 +02:00
turnoffthiscomputer
da1ac576e1 update map_csca.json (#499) 2025-04-02 07:46:25 +02:00
nicoshark
03c1b0f453 fix backend sdk with scope (#497) 2025-03-31 20:53:38 +02:00
turnoffthiscomputer
fafc765af7 generate scope from dns (#495)
* generate scope from dns

* switch between api and staging api according to document type

* add poland passport to mockdatascreen

* yarn nice

* bump sdk version

* bump app version

* Feat/update sdk (#496)

* export castFromScope

* export proof conversion

* publish new package

* update package

* update package

* add hashEndpointWithScope to export member

---------

Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-03-31 20:20:13 +02:00
turnoffthiscomputer
effafe9ab0 Fix android deeplinks (#485)
* update AndroidManifest.xml to remove unnecessary pathPrefix from deeplink configuration

* bump android version

* prettier

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-03-30 11:23:43 -07:00
nicoshark
d266cf2ced Feat/add new verifiers (#488)
* update verifiers

* update and deploy new verifiers
2025-03-30 19:22:15 +02:00
turboblitz
730f812181 Fix proof messaging (#487)
* rename handleProofVerified to handleProofResult

* from the app, call proof_verified or proof_generation_failed instead of always proof_verified

* messaging for when proof fails

* bump sdk version

* yarn nice
2025-03-28 11:40:38 -07:00
nicoshark
acd3329f31 Feat/proof conversion (#491)
* export castFromScope

* export proof conversion
2025-03-28 17:13:45 +01:00