Commit Graph

858 Commits

Author SHA1 Message Date
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
Justin Hernandez
8120b337e5 fix ios border 2025-03-12 22:28:01 -05:00
0xturboblitz
6ed35b542f temporarily remove mock passport whose DSC is signed by a CSCA sig alg that is not used 2025-03-12 20:12:52 -07:00
0xturboblitz
b3898f2dd9 fix destructuration error from outdated initial sig alg name 2025-03-12 20:11:45 -07:00
turnoffthiscomputer
8ebfebfc58 Merge pull request #440 from selfxyz/update-logging
Update logging
2025-03-12 13:57:56 -04:00
turnoffthiscomputer
03a0b20363 fix PassportDataInfoScreen 2025-03-12 18:49:17 +01:00
turnoffthiscomputer
f122c69180 update logs 2025-03-12 18:48:46 +01:00
turnoffthiscomputer
884cb1bc64 remove iOS logs 2025-03-12 18:48:20 +01:00
turnoffthiscomputer
2174c23295 Merge pull request #413 from selfxyz/add-mock-passport-data-sig-alg
feat: expand signature algorithm support in MockDataScreen
2025-03-12 11:56:44 -04:00
0xturboblitz
d6401128e3 adding a disclaimer on loading screen that loading takes time, so people don't drop 2025-03-11 18:28:52 -07:00
turnoffthiscomputer
5b5c19914d feat: expand signature algorithm support in MockDataScreen 2025-03-11 23:40:10 +01:00
turnoffthiscomputer
21b38626ca feat: improve tree and registration 2025-03-11 20:48:21 +01:00
turnoffthiscomputer
ac80cb29d2 Merge pull request #397 from selfxyz/feat/mock-passport
add staging commitment tree url
2025-03-09 17:49:43 -04:00
turnoffthiscomputer
2271176160 add staging commitment tree url 2025-03-09 22:46:34 +01:00
turnoffthiscomputer
fbac62d758 Merge pull request #395 from selfxyz/feat/mock-passport
add staging proving flow
2025-03-09 14:24:17 -04:00
turnoffthiscomputer
bae2a38716 add more sig algs for mock passport data 2025-03-09 19:17:05 +01:00