Commit Graph

2601 Commits

Author SHA1 Message Date
Self GitHub Actions
091f766fd6 chore: incrementing ios build number for version 2.6.3 [github action] 2025-08-04 23:29:13 +00:00
Justin Hernandez
2ef8248c50 Replace react-native-quick-crypto with @noble/hashes (#841)
* Add tests for ethers polyfills

* Add crypto utils

* Inline crypto polyfills into ethers util

* sort and update gemfile lock

* update lock
2025-08-04 16:05:51 -07:00
Self GitHub Actions
2674a2374a chore: incrementing ios build number for version 2.6.3 [github action] 2025-08-03 00:19:01 +00:00
Justin Hernandez
82d26669bc Enable tree-shakeable exports (#823)
* Add tree-shakeable exports

* Migrate imports for tree-shakeable paths

* Document ESM extension requirement

* udpates

* install new lock

* yarn nice

* build deps

* save working index export no wildcard approach

* save wip

* fix building

* add tree shaking doc and examples

* sort package json files

* update package.json

* fix analyzing web

* make sure that web is built

* wip tree shaking

* building works again. save wip logic

* use granular imports

* wip test

* save wip

* Remove hardcoded .d.ts files and setup automatic TypeScript declaration generation

- Remove redundant constants.d.ts, types.d.ts, utils.d.ts files
- Add build:types script to automatically generate TypeScript declarations
- Update tsup config to disable DTS generation (handled separately)
- Update .gitignore to prevent future commits of generated .d.ts files
- Fixes import resolution errors in app by ensuring declarations are always generated

* Add .gitignore rules for generated TypeScript declarations

* ignore dts files

* Remove redundant index.js re-export files

- Remove constants.js, types.js, utils.js as they're redundant with tsup build
- These were just re-exports pointing to dist files that tsup generates
- package.json exports already point directly to built files
- Update .gitignore to prevent future commits of these generated files
- tsup handles all the building, no manual re-export files needed

* save current wip fixes

* add tsup config for web building

* common prettier and fix imports

* prettier

* fix tests

* implement level 3 tree shaking

* improve splitting

* optimize vite web building and prettier

* remove comments

* sort export params

* feedback and fix pipelines

* fix circuit-names path

* fix test

* fix building

* sort

* fix building

* allow cursor to edit scripts

* fix loadDocumentCatalog undefined

* fix build settings

* fix build settings

* additional metro tree shaking

* improved discovery script for xcode building

* pr feedback and fix camelCasing

* simplify shim setup

* fix xcode building and add command to test building

* remove comment

* simplify
2025-08-02 16:55:05 -07:00
Justin Hernandez
17e1633ee7 Update NDK and packaging (#820)
* Update NDK version and packaging options

* Update NDK references

* update lock files

* readme updates
2025-08-01 16:18:12 -07:00
Justin Hernandez
eeaa4e1dd1 Enable edge-to-edge system bars (#817)
* Enable edge-to-edge system bars

* prettier

* fix lint errors

* podfile update and add lazy
2025-08-01 15:54:25 -07:00
Self GitHub Actions
32c4f0ecd0 chore: incrementing ios build number for version 2.6.3 [github action] 2025-07-31 11:16:39 +00:00
jayssj11
dcc341673f fix android build failure (#827)
- Modified package.json to create separate install commands for iOS and Android
  - Updated mobile-setup/action.yml to use platform-specific install commands
  - Android builds will no longer try to run pod install and increment ios build number
2025-07-31 18:35:55 +08:00
jayssj11
76db38a9bb Test/pipeline trigger demo (#826)
* test: trigger CI/CD pipeline with harmless comment update

Testing the auto-deploy workflow after recent fixes

* fix: remove duplicate checkout in mobile-setup action

The mobile-setup action was doing its own checkout which could cause
inconsistencies between iOS and Android jobs. The main workflow already
handles checkout, so this duplicate checkout was causing Android builds
to fail with Gemfile.lock errors while iOS passed.

* fix: enable checkout for Android builds

The checkout step was conditionally skipped for Android builds,
causing 'yarn.lock and Gemfile.lock missing' errors. Both iOS
and Android need the repository checked out to access lock files.
2025-07-31 17:58:23 +08:00
jayssj11
5b5c09c53b Test/pipeline trigger demo (#825)
* test: trigger CI/CD pipeline with harmless comment update

Testing the auto-deploy workflow after recent fixes

* fix: remove duplicate checkout in mobile-setup action

The mobile-setup action was doing its own checkout which could cause
inconsistencies between iOS and Android jobs. The main workflow already
handles checkout, so this duplicate checkout was causing Android builds
to fail with Gemfile.lock errors while iOS passed.
2025-07-31 17:46:58 +08:00
jayssj11
24f8c39f58 test: trigger CI/CD pipeline with harmless comment update (#824)
Testing the auto-deploy workflow after recent fixes
2025-07-31 17:28:32 +08:00
Seshanth.S🐺
f18f0ac12f fix: add error handling in hasAnyValidRegisteredDocument() (#822) 2025-07-31 00:01:22 -07:00
Justin Hernandez
727310aca4 Add web app render check test (#816)
* Add Playwright build test

* yarn nice

* sort package file

* fix test

* remove playwright dep
2025-07-30 23:21:15 -07:00
Seshanth.S🐺
c73fb7ecb6 fix: navigate home (#813) 2025-07-31 07:38:15 +02:00
Justin Hernandez
86656fdca6 Fix lazy loading, web build; revert tree shaking for now (#815)
* Revert "fix yarn web (#814)"

This reverts commit bf158fd977.

* Revert "add hermes ios engine"

This reverts commit f6defcfb12.

* Revert "codex feedback"

This reverts commit df35a47f72.

* Revert "merge with dev"

This reverts commit 47a8d9d2f1.

* Revert "update Gemfile.lock and remove lock when reinstalling"

This reverts commit 5f25752f77.

* Revert "test package update"

This reverts commit 19dcba0e42.

* Revert "revert install cmd changes"

This reverts commit 5427bd12a1.

* Revert "Fix CI build by excluding nokogiri in GitHub Actions/Act environments"

This reverts commit dbff69a13e.

* Revert "prettier"

This reverts commit 87f421456f.

* Revert "fix building"

This reverts commit fbbefd2a3d.

* Revert "optimize path resolving"

This reverts commit 23b1118b8e.

* Revert "fix loading"

This reverts commit f0c884b43b.

* Revert "clean up dupe bundle install"

This reverts commit 5428567bbe.

* Revert "fix metro loading"

This reverts commit 3a766001dc.

* Revert "remove passport provider lazy loading"

This reverts commit 5f793a54b3.

* Revert "allow cursor to edit Gemfile and update lock file"

This reverts commit b6f7158e8e.

* Revert "Update Gemfile.lock to exclude nokogiri in CI environments"

This reverts commit 243640152d.

* Revert "fix install commands"

This reverts commit 2dc7d7c1c9.

* Revert "fix imports and test"

This reverts commit 83d6308029.

* Revert "fix import"

This reverts commit fa42b07ce4.

* Revert "update build checks"

This reverts commit b281f15a16.

* Revert "save updated imports"

This reverts commit 215bca4bee.

* Revert "fix build command"

This reverts commit 37f95bc8fb.

* Revert "build dependencies before linting"

This reverts commit 9e57e017ca.

* Revert "lint suggestions"

This reverts commit ff9b9d2c7c.

* Revert "fix type. more opportunities"

This reverts commit 7ad82d5817.

* Revert "add typing to crypto loader"

This reverts commit d55eec8f44.

* Revert "yarn nice"

This reverts commit df1c2dbd9b.

* Revert "update lock"

This reverts commit 04692ba3b5.

* Revert "cm feedback"

This reverts commit 848071f315.

* fix file name

* fix web loading

* fix border width styling

* fix package commands

* fix import and update lock

* fixes from reverted commits

* more fixes for web building

* fix yarn web:build

* add yarn web:build workflow

* cm feedback

* final fixes

* fix for and vitge

* fix loading
2025-07-30 22:27:49 -07:00
Justin Hernandez
bf158fd977 fix yarn web (#814) 2025-07-30 12:57:06 -07:00
Sean Nakamura
1892cf7f58 Enhance README with small setup and reinstall notes (#810)
* Add simulator section

* Add note on reinstall
2025-07-30 03:53:50 -07:00
Justin Hernandez
2da0f8014a Add bundle analysis workflow (#802)
* Add bundle analysis workflow

* Fix bundle analysis workflow

* Add adjustable bundle size warning

* pretty

* update pull request paths

* update Gemfile.lock

* rename

* pipeline tweaks

* fix tests
2025-07-29 11:49:59 -07:00
Jayaditya Gupta
9229c76a9b lockfile update 2025-07-29 14:30:16 +05:30
jayssj11
f97fca9a80 Fix/deployment track and paths (#809)
* fix: correct Android AAB path and iOS TestFlight distribution settings

Android fix:
- Change AAB path from '../android/...' to 'android/...'
- The gradle task runs with project_dir: 'android/' from app/ directory
- So the AAB is created at app/android/app/build/outputs/bundle/release/
- The path should be relative to app/ not app/fastlane/

iOS fix:
- Remove distribute_external: true and groups for internal track
- Internal TestFlight builds cannot use external distribution
- Internal testers are managed in App Store Connect, not via groups
- This fixes 'Cannot add internal group to a build' error

Both issues were preventing successful deployments after PR merges.

* fix: update iOS build number to sync with TestFlight

- TestFlight already has build 151 (manually deployed by team)
- Update version.json to 151 so pipeline will increment to 152
- This prevents 'build number must be greater' error

* fix: update Gemfile.lock to resolve Android build failure

- Bundle install updated nokogiri and other dependencies
- Fixes 'Gemfile.lock is out of date' error in CI
- This was blocking Android builds in GitHub Actions
2025-07-29 16:43:18 +08:00
jayssj11
73a70251d1 Fix/deployment track and paths (#808)
* fix: correct Android AAB path and iOS TestFlight distribution settings

Android fix:
- Change AAB path from '../android/...' to 'android/...'
- The gradle task runs with project_dir: 'android/' from app/ directory
- So the AAB is created at app/android/app/build/outputs/bundle/release/
- The path should be relative to app/ not app/fastlane/

iOS fix:
- Remove distribute_external: true and groups for internal track
- Internal TestFlight builds cannot use external distribution
- Internal testers are managed in App Store Connect, not via groups
- This fixes 'Cannot add internal group to a build' error

Both issues were preventing successful deployments after PR merges.

* fix: update iOS build number to sync with TestFlight

- TestFlight already has build 151 (manually deployed by team)
- Update version.json to 151 so pipeline will increment to 152
- This prevents 'build number must be greater' error
2025-07-29 15:54:09 +08:00
jayssj11
8d895513a3 fix: correct Android AAB path and iOS TestFlight distribution settings (#806)
Android fix:
- Change AAB path from '../android/...' to 'android/...'
- The gradle task runs with project_dir: 'android/' from app/ directory
- So the AAB is created at app/android/app/build/outputs/bundle/release/
- The path should be relative to app/ not app/fastlane/

iOS fix:
- Remove distribute_external: true and groups for internal track
- Internal TestFlight builds cannot use external distribution
- Internal testers are managed in App Store Connect, not via groups
- This fixes 'Cannot add internal group to a build' error

Both issues were preventing successful deployments after PR merges.
2025-07-29 15:18:41 +08:00
jayssj11
66ed4629c1 fix: correct VersionManager module usage in deploy_auto lanes (#805)
- Remove incorrect instantiation of VersionManager module with .new
- VersionManager is a module (not a class) designed only for build number operations
- Use npm version for semantic version bumps (major/minor/patch) as intended
- Build numbers are already handled in prepare_ios_build/prepare_android_build

Root cause: VersionManager.bump_version() method doesn't exist - the module only
provides bump_ios_build_number() and bump_android_build_number() for build operations.
Semantic versioning must be handled through npm version command.

This fixes the NoMethodError that was causing deployment failures after PR merges.
2025-07-29 14:33:25 +08:00
turnoffthiscomputer
1ad2720e50 add event in proving machine (#803) 2025-07-29 08:24:31 +02:00
jayssj11
d7afdcf0d1 Test/cicd with permissions (#801)
* fix: add required permissions to mobile-deploy-auto workflow

- Add contents: write and pull-requests: write permissions
- This allows the workflow to call mobile-deploy.yml with proper permissions
- Fixes the startup failure when PR is merged

* test: validate CI/CD pipeline with permissions fix

- Update test comment to trigger build
- This should now work with the fixed permissions
- Expecting deployment to internal track
2025-07-29 14:12:34 +08:00
jayssj11
ee297e71f9 fix: add required permissions to mobile-deploy-auto workflow (#800)
- Add contents: write and pull-requests: write permissions
- This allows the workflow to call mobile-deploy.yml with proper permissions
- Fixes the startup failure when PR is merged
2025-07-29 14:06:03 +08:00
jayssj11
f3a9d6d193 test: validate CI/CD pipeline deployment (#799)
- Add harmless comment to trigger automated build
- This tests the mobile-deploy-auto workflow
- Should deploy to internal track when merged to dev
2025-07-29 13:59:24 +08:00
Justin Hernandez
2b1ba18a4d fix build? 2025-07-28 22:48:42 -07:00
jayssj11
9a5cb5321c fix: correct workflow syntax for reusable workflows (#798)
* fix: correct workflow syntax for reusable workflows

- Split deploy job into deploy-ios and deploy-android
- Fixed platforms output to use JSON array format
- Resolves startup_failure error

* fix: update mobile-deploy.yml to support workflow_call events

- Remove github.event_name == 'workflow_dispatch' conditions
- Use inputs context directly which works for both workflow_dispatch and workflow_call
- Update deployment status messages to show input parameters
- This allows mobile-deploy-auto.yml to successfully trigger deployments

* fix: correct job dependencies and input references in mobile-deploy.yml

- Fix create-release-tags job to depend on 'update-version' not 'update-version-files'
- Change github.event.inputs.test_mode to inputs.test_mode for workflow_call compatibility
- Remove redundant workflow_dispatch check in production condition
- Fix test_mode comparison to use boolean instead of string
- This resolves the workflow validation errors
2025-07-29 13:33:27 +08:00
Justin Hernandez
f6defcfb12 add hermes ios engine 2025-07-28 22:14:52 -07:00
Justin Hernandez
df35a47f72 codex feedback 2025-07-28 22:05:15 -07:00
Justin Hernandez
47a8d9d2f1 merge with dev 2025-07-28 21:56:11 -07:00
Justin Hernandez
5f25752f77 update Gemfile.lock and remove lock when reinstalling 2025-07-28 21:54:46 -07:00
Justin Hernandez
19dcba0e42 test package update 2025-07-28 21:54:31 -07:00
Justin Hernandez
5427bd12a1 revert install cmd changes 2025-07-28 21:54:31 -07:00
Justin Hernandez
dbff69a13e Fix CI build by excluding nokogiri in GitHub Actions/Act environments
nokogiri is a native extension gem that causes build failures in CI
environments due to Ruby version conflicts and missing native dependencies.
This restores the conditional exclusion for CI while keeping it available
for local development.
2025-07-28 21:54:31 -07:00
Justin Hernandez
87f421456f prettier 2025-07-28 21:54:31 -07:00
Justin Hernandez
fbbefd2a3d fix building 2025-07-28 21:54:31 -07:00
Justin Hernandez
23b1118b8e optimize path resolving 2025-07-28 21:54:31 -07:00
Justin Hernandez
f0c884b43b fix loading 2025-07-28 21:54:31 -07:00
Justin Hernandez
5428567bbe clean up dupe bundle install 2025-07-28 21:54:31 -07:00
Justin Hernandez
3a766001dc fix metro loading 2025-07-28 21:54:31 -07:00
Justin Hernandez
5f793a54b3 remove passport provider lazy loading 2025-07-28 21:54:31 -07:00
Justin Hernandez
b6f7158e8e allow cursor to edit Gemfile and update lock file 2025-07-28 21:54:31 -07:00
Justin Hernandez
243640152d Update Gemfile.lock to exclude nokogiri in CI environments
- Regenerated Gemfile.lock with GITHUB_ACTIONS=true to match the conditional
  nokogiri exclusion in the Gemfile
- Removes nokogiri and its dependencies (mini_portile2, racc) from lock file
- Fixes pipeline error about deleted nokogiri dependency
2025-07-28 21:54:31 -07:00
Justin Hernandez
2dc7d7c1c9 fix install commands 2025-07-28 21:54:31 -07:00
Justin Hernandez
83d6308029 fix imports and test 2025-07-28 21:54:31 -07:00
Justin Hernandez
fa42b07ce4 fix import 2025-07-28 21:54:31 -07:00
Justin Hernandez
b281f15a16 update build checks 2025-07-28 21:54:31 -07:00
Justin Hernandez
215bca4bee save updated imports 2025-07-28 21:54:31 -07:00