Commit Graph

133 Commits

Author SHA1 Message Date
Justin Hernandez
f98beea498 SEL-496: Add Firebase Remote Config and dev feature flag screen (#735)
* feat: add remote config support

* update lock

* tweak config logic. add feature flag viewing screen

* add tests

* allow for local overriding of feature flags

* save local override work

* save wip

* clean up ui

* update screen to handle multi value types

* fix tests

* cr feedback and fix tests

* remote config upates. fix tests, codex feedback
2025-07-05 17:29:26 -07:00
Eric Nakagawa
4d4efffe5a Apply BSL to app codebase (#639)
* Clean up root license wording

* Simplify SPDX header

* simplify license and rename BSL to BUSL

* fix merge issues

* fix missing method

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-06-23 21:47:53 -07:00
Justin Hernandez
60bfe4387c Apply BUSL v1.1 license headers to app (#665)
* Add BSL license headers to app sources

* prettier

* fix license reference - https://spdx.org/licenses/BUSL-1.1.html
2025-06-23 13:44:01 -07:00
Justin Hernandez
65b5f8a389 Bump build ios 128 android 67 (#601)
* bump build

* update clean commands

* add notification tracking provider, and update provider paths

* request permission for firebase cloud messaging

* since the app asks for permissions, let's enable this after configuring the APN

* remove monorepo building as it doesn't affect app build success

* add flags to expose build issues

* fix hermes path

* fix hermes path for emulator and bundle build
2025-06-07 07:36:06 -07:00
Justin Hernandez
c6c4b35684 SEL-181 & SEL-252: Update mobile app events (#570)
* improve analytics handling

* add error boundary that flushes segment events before error occurs

* upgrade segment analytics package

* flush analytics when user encounters error screen

* track all click events

* add tracking to loading screen

* better init and click event names

* track cloud backup and modal actions

* use __DEV__ for debugging

* add tracking to account recovery, auth, mock data

* return false instead of throwing

* add more tracking events

* save wip event updating

* abstract analytic event names

* update click events

* clean up

* move reasons comment

* add unsupported passport event
2025-05-26 09:08:40 -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
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
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
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
turnoffthiscomputer
1fce20c573 Sentry (#204) 2025-02-23 06:42:19 +01:00
Aaron DeRuvo
d6882ca7cf remove orientation locker (#140) 2025-02-19 13:44:30 +01:00
Justin Hernandez
99d81d5c92 Feat: Deprecate amplitude, remove unused packages (#126) 2025-02-17 07:50:52 -08:00
turboblitz
4834fb3927 Navigation flow (#122) 2025-02-15 12:16:37 +01:00
Aaron DeRuvo
5f71f9a392 Removes unused functions and state from navigation store. (#114) 2025-02-14 18:44:30 +01:00
Nicolas Brugneaux
6a36b55cb8 feat: backup/restore flow (#81)
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-02-13 17:40:52 +01:00
turnoffthiscomputer
54ffcb69e4 Update ws merged (#90)
Co-authored-by: thomas-senechal <thomas.senechal@pm.me>
2025-02-12 19:23:51 -08:00
Aaron DeRuvo
f8d238086a Design/topbottom (#85) 2025-02-12 17:03:11 +01:00
Aaron DeRuvo
9c0ec399c4 Proof Flow Improvement (#74) 2025-02-11 17:45:18 +01:00
Justin Hernandez
73421f6a9a Improve UX and DX (#66)
Co-authored-by: Nicolas Brugneaux <nicolas.brugneaux@gmail.com>
2025-02-11 10:08:07 +01:00
Nicolas Brugneaux
d489f04468 feat: recover with phrase (#26) 2025-02-10 14:45:54 +01:00
Justin Hernandez
79142e2d45 Fix home screen header padding (#38) 2025-02-07 06:55:29 -08:00
Nicolas Brugneaux
015b99368b fix: lint (#22) 2025-02-05 11:36:05 +01:00
turboblitz
629dfdad1a Bringing openpassport/main (#19)
Co-authored-by: seshanthS <seshanth@protonmail.com>
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
Co-authored-by: thomas-senechal <thomas.senechal@pm.me>
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
Co-authored-by: ayman <aymanshaik1015@gmail.com>
2025-02-05 11:13:52 +01:00
Justin Hernandez
363d0bd0f5 Update project metadata & helpers (#13) 2025-01-31 08:20:09 -08:00
Nicolas Brugneaux
90b0e4a270 Navigation Refactor (#6)
Co-authored-by: Leszek Stachowski <leszek.stachowski@clabs.co>
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-01-29 17:16:12 +01:00
thomas-senechal
126711d326 First lint and fmt pass
This commit is a first pass of lint and fmt, with a few manual fixes. Only manual issues left to do.
2025-01-06 18:54:46 +01:00
turnoffthiscomputer
0a70d301eb Merge branch 'dev' of https://github.com/zk-passport/openpassport into deeplink 2024-10-21 23:09:12 +02:00
turnoffthiscomputer
2395877220 implement iOS deeplink 2024-10-21 18:38:06 +02:00
0xturboblitz
abfff50f37 bump to react native 75 2024-10-17 19:15:58 -07:00
0xturboblitz
a8206de69e small cleanups 2024-08-27 16:00:57 +08:00
0xturboblitz
44f88341f2 toast light mode colors 2024-08-27 15:48:07 +08:00
turnoffthiscomputer
475181162d update UI/UX 2024-07-23 18:07:38 +02:00
0xturboblitz
a2dfc8e2ad .env.example 2024-06-18 13:28:31 -07:00
0xturboblitz
319ebade38 generating and storing secret, storing passport data securely 2024-05-14 17:10:50 +09:00
0xturboblitz
ff03b26d4d refactor the app with zustand and make integrations modular 2024-05-14 12:34:16 +09:00
0xturboblitz
1306d2e46a zkey management logic for multiple zkeys 2024-05-12 19:33:37 +09:00
0xturboblitz
01384fa7fa add Proof type for simplicity and readability 2024-05-12 14:44:31 +09:00
0xturboblitz
e041d22903 rename static mockPassportData 2024-04-23 19:30:53 -07:00
0xturboblitz
8e2c28c9cc checking zkey size to avoid partially downloaded zkeys 2024-04-14 16:44:19 -07:00
0xturboblitz
a743706cf2 intro modal to warn about zkey size if not connected to wifi 2024-04-14 16:30:35 -07:00
0xturboblitz
8490904bb1 minimal analytics to debug the beta
- Sends zkey downloading success and signature algorithm name so we find out why it works or doesn't for some people
2024-04-14 14:02:07 -07:00
turnoffthiscomputer
d81662bba4 fix majority hardcoded in app 2024-04-11 12:07:45 +02:00
turnoffthiscomputer
a582be8a93 Merge remote-tracking branch 'origin/dev' into black-ui 2024-04-07 17:31:31 +02:00
0xturboblitz
94145c51d8 dynamically loading zkey on mopro android
- inspired by https://github.com/oskarth/mopro/pull/69 and by our previous implementation
- should be safe, order is download => init => mopro
2024-04-06 12:25:32 -07:00
0xturboblitz
e95326bcee logging zkey downloading better 2024-04-05 18:42:05 -07:00
turnoffthiscomputer
975961eb14 use tamagui toast messages 2024-04-05 11:58:12 +02:00
0xturboblitz
99847ad3d4 fix ios build script and fix gitignores to push the whole witnesscalc 2024-04-03 21:02:35 -07:00
0xturboblitz
38fd190c75 add zkey download on iOS and android
- cleanups too, especially ProveScreen
2024-04-03 20:19:45 -07:00
0xturboblitz
f9a21f53ec cleanups, formatting prover.swift, preparing for zkey download on ios 2024-04-03 14:32:10 -07:00
0xturboblitz
df0ac90af7 Adding witnesscalc + rapidsnark build flows for PoP circuit
- Copying the whole witnesscalc repo in `app`
- Using git submodule for `nlohmann/json`, might switch later to script that clones the repo if it's simpler
- Currently not supporting download of zkey, so it temporarily has to be built and copied first
- Keeping artifacts of their AuthV2 circuit for reference
2024-04-03 11:21:30 -07:00