Files
self/packages/mobile-sdk-alpha/docs/MIGRATION_COMPLETED.md
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

1.2 KiB
Raw Blame History

Completed Mobile SDK Migration Tasks

This log captures whats already landed. Everything still in flight lives in MIGRATION_PLAN.md.

Migration

1. MRZ processing helpers

  • MRZ utilities are in place and reexported through the SDK.
  • The code now lives under src/mrz/ and src/qr/.
  • notImplemented guards unfinished paths.
  • Type aliases keep things lean.

2. Validation module

  • Stateless document checks were ported and covered by unit tests.

3. Integrate SDK into /app

  • The app workspace consumes @selfxyz/mobile-sdk-alpha.
  • Screens are wired to SDK processing and validation helpers.

Architecture

1. Modular feature directories

  • New capabilities sit in dedicated folders and are reexported via src/index.ts.
  • Error paths use notImplemented.
  • Type aliases replaced empty interfaces.

2. Bridge layer for native events

  • NativeModules and NativeEventEmitter are wrapped in a shared adapter.
  • Platforms share a unified event interface.

3. Exception classes

  • Added typed errors (InitError, LivenessError, NfcParseError, MrzParseError).
  • The SDK now surfaces these instead of generic Error.