Justin Hernandez
18697f0211
docs: update mobile SDK migration progress ( #982 )
...
* docs: record app integration progress
* docs: consolidate mobile SDK migration tracking
* docs: humanize migration tracking and merge prompts
* docs: add common consolidation tasks
* docs: reprioritize migration tasks
* docs: soften migration plan tone
* docs: detail agent prompts with file paths
* docs: catalog Linear tasks for SDK
* updates
* remove artifact management
2025-08-29 01:09:23 -07:00
Leszek Stachowski
b8f3505fe5
Move loadSelectedDocument to SDK ( #967 )
...
Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-29 09:39:01 +02:00
Aaron DeRuvo
d9f80f8c13
Auth Adapter + ( #958 )
...
* basic auth adapater
* remove SelfMobileSDk, this was another architecture which the adapter patern replaced
* rename to avoid confusion with client.test.ts
* basic auth adapater
* remove SelfMobileSDk, this was another architecture which the adapter patern replaced
* rename to avoid confusion with client.test.ts
* self
* fix
* remove prototypes
* make sure its mounted
* fix tests
* fmt
* require required adapters
* fix types
* not a partial
* adds missing exports
* fix missing data
2025-08-28 10:13:00 +02:00
Justin Hernandez
590f188f3c
[SELF-676] feat: upgrade React Native from 0.75.4 to 0.76.9 ( #943 )
...
* chore: upgrade build tooling to Node 22 and AGP 8.6
* chore: upgrade react-native to 0.76.9
* update lock files and formatting
* fix path
* fix: handle hermes-engine cache mismatch in CI after React Native upgrade
- Add fallback logic to run 'pod update hermes-engine' when pod install fails
- This resolves CocoaPods cache issues that occur after React Native version upgrades
- Fixes CI pipeline failures on codex/update-core-tooling-for-react-native-upgrade branch
* fix: improve hermes-engine cache handling in CI
- Preemptively clear CocoaPods cache before pod install
- This prevents dependency analysis failures that occur when cached podspecs conflict
- Addresses the root cause: cache conflicts during 'Analyzing dependencies' phase
- Keeps fallback logic for additional safety
* fix: handle hermes-engine cache in mobile-bundle-analysis workflow
- Add pod-install-with-cache-fix.sh script to handle hermes-engine cache conflicts
- Update install-app:setup script to use the new cache fix approach
- This fixes the mobile-bundle-analysis.yml workflow failures after React Native upgrade
- Proactively clears CocoaPods cache and has fallback for hermes-engine updates
* formatting
* fix: robust hermes-engine cache handling in CI workflows
- Apply comprehensive cache clearing to mobile-ci.yml and mobile-e2e.yml
- Pre-emptively run 'pod update hermes-engine' before pod install
- Clear multiple cache locations to handle CI environment differences
- This prevents 'hermes-engine differs from Pods/Local Podspecs' errors
- Fixes all workflows affected by React Native 0.76.9 upgrade cache issues
* fixes
* clean up
* update lock files
* fix tests
* sort
* fixes
* fix ci
* fix deployment target
* android fixes
* upgrade fix
* fixes
* fix: streamline mobile CI build and caching (#946 )
* fix: streamline mobile CI build and caching
* Enable mobile E2E tests on codex/fix-mobile-ci-workflow-errors branch
* test
* simplify and fix path
* workflow fixes
* fix loading on 0.76.9
* clean up unnecessary comments
* fix readme
* finalize upgrade to 0.76.9
* fix android build and upgrade
* fix bundler caching
* download cli to fix "yarn start" issues
* fix cli build erorr
* fix script path
* better path
* abstract build step to prevent race condition
* fixes
* better cache
* fix corepack build error
* update lock
* update lock
* add yarn cache to workflows
* fix test building
* ci caching improvements
* fix common type check
* fix common ci
* better mobile sdk alpha building logic
* chore: speed up mobile e2e workflow (#962 )
* chore: speed up mobile e2e workflow
* chore: disable android e2e job
* chore: speed up ios build
* fix: bundle js for ios debug build
* fix e2e
2025-08-26 20:27:51 -07:00
Leszek Stachowski
6c3cd978ad
Read document catalog from selfClient ( #936 )
2025-08-26 17:05:51 +02:00
Aaron DeRuvo
4367780cd6
Migrate Analytics ( #951 )
...
* setup analytics adapter for self mobile sdk client and use in app
* wrap for context
* fix build
* yarn types is an alias for build when build just compiles ts
* ok unlock
* deeper
* ok this looks to work
* fix license check
* make sure it starts with this line
* someone didnt commit
* fix double analytics bug and builds
* lint
2025-08-26 15:40:14 +02:00
Justin Hernandez
431f556542
chore: centralize license header checks ( #952 )
...
* chore: centralize license header scripts
* chore: run license header checks from root
* add header to other files
* add header to bundle
* add migration script and update check license headers
* convert license to mobile sdk
* migrate license headers
* remove headers from common; convert remaining
* fix headers
* add license header checks
2025-08-25 11:30:23 -07:00
Seshanth.S🐺
a918b45332
fix: extractMRZ ( #938 )
...
* fix: extractMRZ
* yarn nice && yarn types
* fix test: remove unused
* fix mobile ci
* add script
---------
Co-authored-by: Justin Hernandez <transphorm@gmail.com >
2025-08-24 13:27:42 -07:00
Aaron DeRuvo
bf718d5caa
Moving proving Utils to common ( #935 )
...
* remove react dom
* moves proving utils to the common
* need to use rn components
* fix imports
* add proving-utils and dedeuplicate entry configs for esm and cjs.
* must wrap in text component
* fix metro bundling
* fix mock import
* fix builds and tests
* please save me
* solution?
* fix test
2025-08-22 09:57:34 +02:00
Justin Hernandez
d34ce431f4
feat: upgrade SelfClient foundation and expose MRZ parsing ( #925 )
...
* feat: expose MRZ parsing on client
* feat: add SelfClient provider
* feat: add react native entry
* feat: add mobile sdk entry wrapper
* upgrade packages
* save wip
* clean up tests to support new arch
* abstract SelfMobileSdk
* pr feedback
* updates
* pr updates
* update lock
* updates
* fix types
* updates
* fix tests
* test: verify provider memoization and add jsdoc (#929 )
* pr feedback
2025-08-19 19:05:52 -07:00
Justin Hernandez
61d405f93e
[SELF-662] feat: add mobile sdk error classes ( #916 )
...
* feat: add typed errors
* docs: add jsdoc comments to error classes
* docs: document sdk error helpers
* pr feedback
2025-08-19 08:10:27 -07:00
Justin Hernandez
76f4980ef6
chore: add script to check import / export type sorting ( #900 )
...
* Enforce separate type imports
* chore: enforce separate type exports
* refactor: flatten sdk index exports
* updates
* fix improperly sorted types
* fixes and prettier
* prettier
2025-08-15 10:11:44 -07:00
Justin Hernandez
393401b674
docs: expand React Native component migration ( #905 )
...
* docs: expand React Native component migration
* fix bad merge
2025-08-14 19:33:55 -07:00
Justin Hernandez
6fdf44171c
feat: add native event bridge ( #899 )
...
* feat: add native event bridge
* refactor(native-events): validate module and harden tests (#903 )
2025-08-14 17:29:15 -07:00
Justin Hernandez
749db8e67a
feat: add passport validation module ( #887 )
...
* feat: add passport validation
* refactor: consume sdk passport validator in app
* feat: add tracking hook to passport validation
* feat: add validation callbacks
* docs: clarify passport validator
* fix: validate passport hash algorithms
* abstract properly
* fix tests
* format
* fix logger and bundler
* fix tests
* fix tests and bundling
* fix format
* update lock
* fix types
* fixes
* fixes
* don't leak pii
* done
* revert error
2025-08-14 17:15:50 -07:00
Justin Hernandez
fcf1ec5dc8
docs: remove nfc and non migration tasks ( #902 )
...
* docs: align migration rules with updated checklist
* docs: restore demo sample sections
2025-08-14 16:41:48 -07:00
Justin Hernandez
368d233243
feat: scaffold mrz, nfc, and qr feature directories ( #893 )
...
* feat: stub mrz, nfc, and qr modules
* feat: export mergeConfig and browser feature modules
* refactor: use named exports for feature modules
* arch feedback
2025-08-14 09:49:17 -07:00
Justin Hernandez
6b285c9bf3
chore: address TypeScript ESLint v8 upgrade feedback and improve type safety ( #895 )
...
* cr feedback
* update based on feedback
* typing updates
* unify yarn package version
* update lock
2025-08-14 09:19:34 -07:00
Justin Hernandez
07addb2a9a
chore: add TypeScript tooling ( #891 )
...
* chore: add TypeScript tooling
* chore: remove unused tsconfig and migration script
* update settings
* add knip config
* format
* more reliable circuits tests
* fix workflow
* fix types
* updates
* ts updates
* more updates
* fix upgrade
* fixes
2025-08-13 21:02:07 -07:00
Justin Hernandez
94da3b9546
docs: add architecture guide and reorganize docs ( #890 )
...
* docs: add architecture guide and reorganize docs
* docs: add architecture prompt tasks
2025-08-13 15:11:56 -07:00
Justin Hernandez
35281ad1ea
feat: add nfc parser and mrz tests ( #886 )
...
* feat: add nfc parser and mrz tests
* fix: harden NFC parser and update migration docs
2025-08-12 20:16:25 -07:00
Justin Hernandez
b2839e1633
Chore: improve ai context ( #883 )
...
* add gigamind context
* updates
* update ai context
* doc updates
* add migration context
* docs: refine commit checks and mobile app instructions (#884 )
* docs: refine commit checks and add mobile app guidelines
* cr feedback
* quality updates
* format md file
* updates
* future proof tests
2025-08-12 16:39:15 -07:00
Justin Hernandez
995a47c7ca
updates ( #882 )
2025-08-12 08:52:19 -07:00
Justin Hernandez
b2c79f3bae
Expand migration checklist and prompts ( #880 )
...
* Expand migration checklist and prompts
* recommendos
* update order
* add partner feedback
2025-08-11 17:14:19 -07:00
Justin Hernandez
e5fd37d133
feat: modernize mobile sdk build pipeline ( #877 )
...
* Add tsup config and postbuild shims
* cr feedback
2025-08-10 22:44:14 -07:00
Justin Hernandez
d8b2f60c57
Simplify alias tooling and relax export sorting ( #867 )
...
* Simplify alias config
* Restore export sorting overrides
* save migration pattern
* alias last minute updates
* fix tests
* improved import sorting
* Implement typed event emitter (#869 )
* Implement typed event emitter
* cr suggestion
2025-08-10 13:53:03 -07:00
Justin Hernandez
b59dbe1b05
Chore: mobile sdk refinements ( #858 )
...
* Add sdk-alpha package with MRZ helper
* chore: add migration report script
* Add lint config and MRZ tests to sdk-alpha
* fix tests
* fixes. wip
* fixes
* fix bundler tests
* mrz improvements based on cr feedback
* prettier
* fix build errors
* Document browser shim (#859 )
* Validate required adapters (#861 )
* Use sdkError for web scanner shim (#862 )
* Document new workspaces in AGENTS (#864 )
* Add client tests (#860 )
* Use deep merge for client config (#863 )
* Add config merge helper
* format
* Add SDK alpha CI workflow (#865 )
* rename
* rename file
* update workflow
* coderabbit feedback and fixes
* fix linter
* fix import paths
* wip fixes
* updates
* fix tests
* formatting
* update workflow
* remove console mocks
* rename folder and fixes
* fix tests
* save wip
* auto format on save for all sdk package files
* fixes
* cr feedback
* fix pipelines
2025-08-09 17:14:56 -07:00
Justin Hernandez
5356b8b5e0
feat: add sdk-alpha package with MRZ helper ( #851 )
...
* Add sdk-alpha package with MRZ helper
* chore: add migration report script
* Add lint config and MRZ tests to sdk-alpha
* fix tests
* fixes. wip
* fixes
* fix bundler tests
* fix
2025-08-08 17:14:49 -07:00