Commit Graph

873 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
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
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
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
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
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
nicoshark
624d0e568d Feat/forbidden countries utils (#504)
* add forbidden countries util function

* remove casting
2025-04-04 18:58:30 +05:30
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
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
turnoffthiscomputer
62d73f64d6 Fix qrcode (#486)
* update AndroidManifest.xml to remove unnecessary pathPrefix from deeplink configuration

* bump android version

* fix self qrcode
2025-03-27 16:21:44 -07:00
turnoffthiscomputer
a0672cc574 bump version to 2.5.0 (#476)
* bump versions

* bump version

* bump android version

* fix deeplinking on android

* don't open the android app when the phone is nearby an RFID chip

* add build apk command

* add intent filter

* bump version

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-03-27 18:42:49 +01:00
turnoffthiscomputer
2c46d34e48 add country mapping (#480)
* add country mapping

* update backend verifier

* delete unused setting

* add orgs

* update country codes

* fix nationality

* bump sdk versions

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-03-25 16:00:51 +01:00
turboblitz
aded6198de Remove biometrics.create keys() (#474)
* remove biometrics.createKeys()

* yarn nice
2025-03-21 19:01:07 -07:00
turnoffthiscomputer
84ebc0fc21 fix deeplink implementation (#472)
* fix deeplink implementation

* check biometrics when pressing button on prove screen

* Revert "check biometrics when pressing button on prove screen"

This reverts commit 88b1e891a7.

---------

Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-03-21 18:25:09 -07:00
0xturboblitz
e36d621f4d Revert "fix: refactor secret and passport-data management (#459)"
This reverts commit 34b2af5cb5.
2025-03-21 18:07:13 -07:00
turnoffthiscomputer
36a29c9a21 chore: add redirect.self.xyz to app link domains (#415)
* chore: add redirect.self.xyz to app link domains

* chore: add redirect.self.xyz to android manifest

* add self in the universal link path

* set gestureEnabled false on Launch screen

* improve ProveScreen UX

* improve ProveScreen UX

* implement deeplinking in mobile app and sdk

* start app listener in ViewFinder

* support WS connexion with complex qrcodes

* remove /self path from android deeplink support

---------

Co-authored-by: turboblitz <florent.tavernier@gmail.com>
2025-03-21 13:55:11 -07:00
Justin Hernandez
d03c9556a8 Create release build 2.4.9, lower deployment target to iOS 15.0 (#393)
* bump version

* lower target iOS version to 11

* bump version

* lower ios deployment target to 15.0

* increment build

* bump build

* increment build

* bump build

* update podlock
2025-03-21 13:50:11 -07:00
ehsunahmadi
34b2af5cb5 fix: refactor secret and passport-data management (#459)
* fix: refactor secret and passport-data management

* clean things up

* hadle biometric availablity state

* added unsafe_secret_privateKey & unsafe_clearSecrets in usePassport for devSettingsScreen

* remove setting of secret in loadingScreen as it's handled in usePassport internally
2025-03-21 21:45:03 +01:00
turnoffthiscomputer
e1186977d5 Implement advanced mode toggle with two-finger triple tap gesture in MockDataScreen (#469) 2025-03-21 21:42:31 +01:00
turnoffthiscomputer
f6d81f2ce4 feat: add staging API URL and update circuit DNS mapping fetching logic (#468) 2025-03-21 21:39:45 +01:00
Justin Hernandez
13968f559f remove android nfc required 2025-03-14 18:02:33 -05:00
turnoffthiscomputer
dbe1ca41a4 Merge pull request #443 from selfxyz/fix-mock-flow
Fix mock flow
2025-03-13 13:22:13 -04:00
turnoffthiscomputer
c11a0f9d06 Merge pull request #442 from selfxyz/justin/increase-ios-haptic-feedback
increase feedback intensity on ios
2025-03-13 06:31:41 -04:00
0xturboblitz
869b6c7da3 yarn nice 2025-03-12 23:41:50 -07:00
Justin Hernandez
8231bdfb09 increase feedback intensity on ios 2025-03-13 01:09:10 -05:00
Justin Hernandez
6029cb1996 update lock 2025-03-13 01:05:22 -05:00
Justin Hernandez
fa33d453c5 hide iOS ocr border 2025-03-13 00:46:06 -05:00
Justin Hernandez
43dfea8be2 remove fake fix 2025-03-13 00:23:04 -05:00
Justin Hernandez
e4e59db02b make ocr viewport and scan animation larger 2025-03-12 23:06:46 -05:00