Commit Graph

153 Commits

Author SHA1 Message Date
Justin Hernandez
e0d8c56fe0 fix prod release (#1321) 2025-10-26 13:50:32 -07:00
github-actions[bot]
2efb06061f chore: bump mobile app version to 2.7.1 (#1307)
* chore: bump mobile app version to 2.7.1

* fix last deployed timestamp

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-10-24 22:53:51 -07:00
Aaron DeRuvo
4f00dcd90e Aaronmgdr/msdk fix publish flow (#1312)
* run workflow when msdk path changes

* build deps
2025-10-24 16:02:33 +02:00
Aaron DeRuvo
3017660cea run workflow when msdk path changes (#1310) 2025-10-24 15:37:01 +02:00
Aaron DeRuvo
8863178077 SELF-701: Setup AlphaAlpha Publishing for mobile sdk (#1296)
* setup publishing

* tag it as prerelease

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-24 15:26:10 +02:00
Aaron DeRuvo
2337eb30f1 Confirm Identification Screen + animation json dist setup (#1306)
* refactor confirm screen

* refactor

* setup animations and confirm-identification screen

* linty

* fix jest tests

* reverse attempts to fix web build. skip web build for now since its not used anyway

* dont code split in a library

* cleanup config for build based on what is actually used in sdk
2025-10-24 15:22:44 +02:00
Justin Hernandez
077dcc47b4 [SELF-830] feat: demo app nfc scanning (#1236)
* save wip demo app nfc scanning

* save wip

* fix types

* Fix Android NFC scanning in demo app (#1241)

* fix tests

* fix pipelines

* fix linting

* WIP move to flows/onboarding/scan-nfc

* prettier and fix test

* fix test

* update lock

* update deps

* Feat/android prebuilt modules (#1292)

* move entire screen

* remove redundancy in components and utils

* fixes

* lint

* ignore

* remove unneeded

* fix imports

* remove unused

* Update packages/mobile-sdk-alpha/src/types/events.ts

Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co>

* uuid not needed for demo app

* android: update ci check

* timeout fix, image temp fix

* prettier fix

* try rebuild deps every time

* Temporarily disable cache check in CI

* Revert "try rebuild deps every time"

This reverts commit a5c97210a5.

* ignore false positive

* Revert "Revert "try rebuild deps every time""

This reverts commit 4f44615fd6.

* fix?

* sanitize error message first

* remove TODO that has been taken care of

* MSDK: add ios prebuilts (#1308)

* add ios prebuilt

* remove outdate readme

* remove duplicates

* comment out unused

* add prettier ignore

* Update .gitguardian.yml to ignore iOS frameworks and build artifacts

* update gitguardian ignore paths

* migrate config version

* add ignored-matches

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>

* remove duplicated code

* exclude mobile-sdk native modules when `E2E_TESTING` flag is set

* app: disable ios msdk auto-linking

* add E2E_TESTING flag

---------

Co-authored-by: Leszek Stachowski <leszek.stachowski@self.xyz>
Co-authored-by: seshanthS <seshanth@protonmail.com>
Co-authored-by: Seshanth.S <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co>
2025-10-23 23:14:32 +05:30
Justin Hernandez
14b7583747 don't create release pull requests on merge (#1298) 2025-10-17 08:47:21 -07:00
Justin Hernandez
e01ec188af code rabbit feedback for staging auto deploy logic (#1255)
* code rabbit feedback for staging auto deploy logic

* fix jest test

* cr feedback

* workflow fixes

* fix tests

* restore cache
2025-10-17 07:58:02 -07:00
Justin Hernandez
ae4aebb88a optimize github workflow cache space (#1273)
* update workflows with cleaner caching logic

* cache fixes
2025-10-11 14:56:00 -07:00
Justin Hernandez
8fc31912d3 remove ci (#1270) 2025-10-11 03:39:36 -07:00
Justin Hernandez
1ca2e8a32c fix release calendar pr workflow (#1266) 2025-10-10 15:32:27 -07:00
Justin Hernandez
1b4ec42260 rename workflow labels (#1264) 2025-10-10 14:48:59 -07:00
Justin Hernandez
702a6836c7 add timestamp to branch name (#1261) 2025-10-10 14:23:30 -07:00
Justin Hernandez
5bb7cef34b fix workflow logic (#1260) 2025-10-10 13:44:41 -07:00
Justin Hernandez
cd6ffd630e update release calendar logic (#1256) 2025-10-10 13:11:26 -07:00
Justin Hernandez
fe04ab2575 SELF-832: tweak mobile deploy auto bump version pr feature; v2.7.0 (#1244)
* bump version to match staging

* save wip

* deploy fixes

* fix version setting

* update version logic

* fix version pr

* increase timeout to 2 hours

* pr logic tweaks

* fix script

* fix script path

* add comments and update logic to test from feature branch

* fix build path

* fix version input error

* fix pulling version

* add skip-deploy lable

* address cr concners
2025-10-09 23:58:29 -07:00
Justin Hernandez
e4382d18d2 SELF-831: Add mobile demo app e2e tests (#1185)
* Add mobile SDK demo E2E workflow

* ci: build common before mobile sdk demo e2e

* Fix private pod access for mobile SDK demo e2e

* downgrade react-native-svg

* test fixing android e2e

* fix lock files

* update android e2e terst

* let's not figure out the emulator here. skip

* fix issues
2025-10-09 12:24:31 -07:00
Justin Hernandez
8255a9ac56 chore: tighten types across mobile surface areas (#1209)
* chore(app): tighten types across app workspace

* fixes

* save wip

* save wip linting

* fix any types

* fix types

* fix: import forwardRef directly from react

- Changed from React.forwardRef to forwardRef import
- Resolves linting warning about named exports

* save typing and linting updates

* cr feedback. final pass

* more cr feedback

* pipeline fixes
2025-10-09 09:53:29 -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
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
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
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
66cd766d79 chore: allow mobile "deploy only" labels (#1219)
* add only triggers

* tweak release

* formatting
2025-10-06 14:15:25 -07:00
Justin Hernandez
cf20b87415 Fix release workflow PR body generation (#1217) 2025-10-06 12:44:06 -07:00
Justin Hernandez
c68ef2b79e fix pr paths and base branch; update build versions (#1202) 2025-10-03 07:35:24 -07: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
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
Justin Hernandez
871890aa0a undo retry and bump version (#1170) 2025-09-30 18:56:13 -07:00
Justin Hernandez
0e3b4e8ae6 chore: fixes for next deploy v2.6.9 (#1168)
* create pr from dev not staging

* retry upload to google play if it fails
2025-09-30 18:31:55 -07:00
Justin Hernandez
3907a046fc chore: last build bump for v268 (#1166)
* tweak pr flow

* bump versions
2025-09-30 18:04:44 -07:00
Justin Hernandez
50f670dd5f Justin/fix deploy workflows v268 rd2 (#1159)
* add missing key

* save wip

* update env values. remove slack support

* add enable debug logs
2025-09-30 14:56:56 -07:00
Justin Hernandez
2e5a531097 update versions. fix flows (#1155) 2025-09-30 11:55:14 -07:00
Justin Hernandez
e66607bff8 fix ios deploy (#1145) 2025-09-29 20:28:33 -07:00
Justin Hernandez
9ebb9166db small tweaks to bump build v2.6.8 (#1144)
* small tweaks to bump build

* also run mobile e2e and mobile sdk changes

* run mobile demo on sdk changes
2025-09-29 19:02:52 -07:00
Justin Hernandez
cac965932e fix ios deploy workflow for v2.6.8 (#1142)
* update readme

* fix ios deploy pipeline

* kick off during staging merge
2025-09-29 17:46:01 -07:00
Justin Hernandez
1c2a59f6f1 chore: rename android-passport-reader to android-passport-nfc-reader (#1137)
* rename android-passport-reader to android-passport-nfc-reader

* rename action
2025-09-28 17:12:54 -07:00
Justin Hernandez
20fa5c5adc [SELF-700] feat: add mock document generator demo (#995)
* feat: add mock document generator demo

* feat: add mock document generator

* fixes

* chore: refresh workflow cache

* update lock

* build

* updates

* more fixes

* code rabbit feedback

* compiles

* save wip

* updates

* merge with dev and fixes

* fix: align hoisting and demo Jest resolver (#1003)

* chore(app): map common src paths and declare svg flag module

* ci fix

* update lock

* save wip

* chore: address yarn lock issues (#1004)

* address yarn lock issues

* fix postinstall

* fix ci

* use metro js proxy

* android build working for /app

* save wip

* fix merge

* pipeline fixes

* format

* fix pipelines

* bump limit and split

* fix pipeline issues

* chore: decouple demo app build (#1013)

* chore: decouple demo app build

* chore: move demo app to workspace

* chore: unpublish demo workspace

* fix mobile sdk tests

* updates

* remove polyfills

* update merge

* update resolutions

* update resolutions

* fix merge

* fix paths

* save wip

* save wip fixes rd2

* working android

* update lock

* save wip ios building

* fix merge

* readd public key

* fixes

* ci fixes

* fixes

* fix web building

* fix ci

* fix tests

* update lock

* fix ci rd2

* formatting and fix ci

* fix

* finalize ci fixes

* fix tests and metro config paths for building

* save wip

* install missing package for pipeline

* fix wip app building

* wip react config

* save working emulator compile

* first round of pr fixes and feedback

* clean up demo app artifacts from sdk

* Add Gradle wrapper files for mobile-sdk-demo Android build

- Added gradlew, gradlew.bat, and gradle/wrapper/ directory
- Updated .gitignore to allow committing Gradle wrapper files
- Fixes Android build error: spawn ./gradlew ENOENT

* codex feedback and fixes

* fix tests

* file renames

* revert back to dev

* add types

* coderabbit fixes

* fix tests

* fix tests

* fix test

* fixes

* fix wip coderabbit issues

* coderabbit suggestions rd 2

* fix ci pipelines and addresss warnings

* cr fixes

* convert kebab to camelCase

* save wip fixes

* update reinstall and lock files

* fixes

* remove file

* fix lint

* fix polyfill fallback issues

* ensure that mock document is not on ofac list

* prettier
2025-09-27 13:59:47 -07:00
Nesopie
a70c06d1a2 Fix/published files (#1112)
* chore: only publish dist in angular

* fix: ci and published files

* bump: angular version
2025-09-22 11:58:08 +05:30
Nesopie
8e88361a8c Feat/qr code angular (#1111)
* feat: qrcode wrapper in angular

* chore: refactor

* feat: working qrcode

* fix: websockets

* fix: lottie animations

* chore: add readme

* ci: angular

---------

Co-authored-by: vishal <vishalkoolkarni0045@gmail.com>
2025-09-22 11:50:11 +05:30
Justin Hernandez
f36050ef1d chore: android studio agp assistant; 16kb pagesize fix (#1107)
* upgrade android agp

* update ndk and add manual linker for 16kb

* upgarde ndk
2025-09-20 16:04:59 -07:00
Justin Hernandez
a005bde034 [SELF-747] feat: clone android passport reader during setup (#1080)
* chore: remove android private modules doc

* private repo pull

* skip private modules

* remove unused circuits building

* save wip

* format

* restore tsconfig

* fix package install

* fix internal repo cloning

* unify logic and fix cloning

* git clone internal repos efficiently

* formatting

* run app yarn reinstall from root

* coderabbit feedback

* coderabbit suggestions

* remove skip private modules logic

* fix: ensure PAT is passed through yarn-install action and handle missing PAT gracefully

- Update yarn-install action to pass SELFXYZ_INTERNAL_REPO_PAT to yarn install
- Make setup-private-modules.cjs skip gracefully when PAT is unavailable in CI
- Fixes issue where setup script was throwing error instead of skipping for forks

* prettier

* fix clone ci

* clone ci fixes

* fix import export sorts

* fix instructions

* fix: remove SelfAppBuilder re-export to fix duplicate export error

- Remove SelfAppBuilder import/export from @selfxyz/qrcode
- Update README to import SelfAppBuilder directly from @selfxyz/common
- Fixes CI build failure with duplicate export error

* fix: unify eslint-plugin-sort-exports version across workspaces

- Update mobile-sdk-alpha from 0.8.0 to 0.9.1 to match other workspaces
- Removes yarn.lock version conflict causing CI/local behavior mismatch
- Fixes quality-checks workflow linting failure

* fix: bust qrcode SDK build cache to resolve stale SelfAppBuilder issue

- Increment GH_SDK_CACHE_VERSION from v1 to v2
- Forces CI to rebuild artifacts from scratch instead of using cached version
- Resolves quality-checks linter error showing removed SelfAppBuilder export

* skip job

* test yarn cache

* bump cache version to try and fix the issue

* revert cache version

* refactor: use direct re-exports for cleaner qrcode package structure

- Replace import-then-export pattern with direct re-exports
- Keep SelfAppBuilder export with proper alphabetical sorting (before SelfQRcode)
- Maintain API compatibility as documented in README
- Eliminates linter sorting issues while keeping clean code structure

* fix: separate type and value imports in README examples

- Import SelfApp as type since it's an interface
- Import SelfAppBuilder as value since it's a class
- Follows TypeScript best practices and improves tree shaking
2025-09-18 14:55:25 -07:00
Nesopie
86c595be94 Feat/contracts npm publish (#1089)
* chore: ci to publish contracts

* yarn fmt
2025-09-18 13:38:39 +05:30
Justin Hernandez
045a8053da fix yarn build; add workflow ci (#1075)
* add new workspace ci

* disable package version check for now

* build before checks

* format

* fix in future pr
2025-09-16 00:32:38 -07:00
Justin Hernandez
5c569e6334 chore: minor fixes across monorepo (#1068)
* small fixes

* fixes

* fix gesture handler error

* ci fixes
2025-09-13 17:55:35 -07:00
Justin Hernandez
be2b52ac36 saw it building so gonna try (#1065) 2025-09-12 17:40:24 -07:00
Justin Hernandez
3d0a5b42cf don't get fancy just disable (#1064) 2025-09-12 17:34:26 -07:00
Justin Hernandez
51a12a1999 skip on dev (#1063) 2025-09-12 17:32:53 -07:00
Nesopie
87424d9858 Feat/build aadhaar (#1044)
* feat: build aadhaar circuits as well in the ci

* feat: add register aadhaar case handling
2025-09-11 08:36:24 +05:30