* Update dependency versions
* Fix gesture handler Android dependency (#1611)
* Patch screens codegen type (#1609)
* Downgrade Sentry React Native (#1612)
* fix patches and packages
* downgrade versions for gesture handler and screens
* agent feedback
* fix ios building
* allow ios tets to pass
* formatting
* make cache more resilient
* Address CodeRabbitAI review comments
This commit addresses all 7 unresolved CodeRabbitAI comments on PR #1606:
Patch-package error handling (comments #1, #2, #3):
- stderr capture already implemented in both root and workspace patch runs
- Add CI warning when patches fail silently instead of exiting with 0
- Log completion status in CI mode for visibility
Critical Mixpanel dependency fix (comment #5):
- Add explicit Mixpanel-swift pod declaration to fix E2E build failures
- Ensures Mixpanel is available even when NFCPassportReader is skipped during E2E testing
React-native-web validation (comment #4):
- Verified no usage of deprecated findNodeHandle, pointerEvents: 'box-none', or createPortal
- Safe to upgrade from 0.19 to 0.21.2
CI workflow improvements (comments #6, #7):
- Create cache-sdk-build composite action for consistent SDK build artifact caching
- Replace all direct actions/cache@v4 usage with cache-yarn composite action
- Replace all direct actions/cache/restore@v4 and save@v4 with cache-sdk-build
- Add nested require() validation step before tests to fail fast on problematic patterns
All changes follow repository coding guidelines for CI caching and test memory optimization.
* Extend cache composite actions to all SDK workflows
This commit extends the caching standardization from PR #1606 to include
mobile-sdk-ci.yml and core-sdk-ci.yml workflows.
New composite actions created:
- cache-mobile-sdk-build: For mobile SDK build artifacts
- cache-core-sdk-build: For core SDK build artifacts
Workflow updates:
- mobile-sdk-ci.yml: Replaced 5 instances of direct actions/cache with cache-mobile-sdk-build
- core-sdk-ci.yml: Replaced 4 instances of direct actions/cache with cache-core-sdk-build
All SDK CI workflows now use consistent caching patterns via composite actions,
following the AGENTS.md guideline: "Use shared composite actions from .github/actions
for CI caching instead of calling actions/cache directly."
Benefits:
- Consistent caching across all SDK workflows (qrcode, mobile, core)
- Centralized cache configuration - easier to maintain
- Follows established patterns from qrcode-sdk-ci.yml
* downgrade react-native-svg
* update pod lock file
* sort
* Refactor NFC scanner tests to use a global variable for platform OS, allowing dynamic switching between iOS and Android during tests. This change improves test isolation and avoids hoisting issues with jest.mock.
* feat: add GitHub App token generation action for self repositories
- Introduced a new action to generate GitHub App tokens for accessing repositories within the selfxyz organization.
- Updated multiple workflows to utilize the new action for token generation, ensuring secure access to private repositories during CI processes.
- Modified Podfile and scripts to support authentication using the generated token, enhancing the cloning of private modules in CI environments.
* chore: enhance CI workflows with Git authentication for CocoaPods
- Updated multiple CI workflows to include a step for configuring Git authentication for CocoaPods, ensuring secure access to private repositories without embedding credentials in URLs.
- Added masking for sensitive tokens in logs to enhance security during CI processes.
- Modified the Podfile to avoid printing authentication details in CI logs, improving overall security practices.
* chore: enhance CI workflows with optional Git authentication configuration
- Added new inputs to the GitHub action for generating GitHub tokens, allowing optional configuration of a ~/.netrc entry for Git authentication.
- Updated multiple CI workflows to utilize the new configuration, improving security and simplifying access to private repositories during builds.
- Removed redundant Git authentication steps from workflows, streamlining the CI process while maintaining secure access to necessary resources.
* chore: update Podfile for secure Git authentication in CI
- Modified the Podfile to enhance security by avoiding the embedding of credentials in URLs for accessing the NFCPassportReader repository during CI processes.
- Added comments to guide developers on using workflow-provided authentication methods, improving overall security practices in the project.
* add internal repo pat
* update nfc passport reader location
* update workflows to use PAT to access NFC Passport Reader
* fix ci
* update logic to access private repo
* 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
* update podfile: unwrapDO
* update lock
* bump version and builds
* bump build; forgot to enable logs
* fix version to not interfere with release
---------
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
* feat: add flag to use PACEPolling
* fix: santize before storing in store
* bump ios build number and update podfile lock
* prettier
* bump build
* feat: add flag to use PACEPolling
* fix: santize before storing in store
* bump ios build number and update podfile lock
* prettier
* bump build
---------
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
* 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>
* 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