1. 16 Sep, 2026 3 commits
    • Javokhir's avatar
      feat(ios): implement MyID turbo module against MyIdSDK 3.1.3 · 1b21f2dd
      Javokhir authored
      ObjC++ flattens the codegen C++ param structs into NSDictionary, since Swift
      cannot see them, and delegates to a Swift layer that owns all SDK interaction.
      
      The pod is named RNMyidSdk rather than MyidSdk: the latter differs from the
      vendor pod MyIdSDK only by case, and on a case-insensitive filesystem the two
      targets share one intermediate build directory, so the generated Swift header
      lands in the vendor's directory and the bridge fails to import it.
      
      MyIdClientDelegate conformance is kept on an internal proxy so it is not
      re-emitted into the generated Swift header, which ObjC++ parses without any
      visibility of MyIdSDK's Swift types.
      1b21f2dd
    • Javokhir's avatar
      feat: add typed MyID JS API over codegen turbo module spec · 567d3cbb
      Javokhir authored
      Public surface is a promise-based start({config, iosAppearance}) mirroring the
      MyID Flutter plugin's wire format, with string-union enums, platform-scoped
      JSDoc and a MyIdError carrying the SDK result code.
      
      The codegen spec stays deliberately untyped for enums because codegen cannot
      express string unions; narrowing lives in the public layer only. Keys that are
      undefined are stripped before crossing the bridge so the SDK's own defaults
      survive rather than being overwritten with empty values.
      567d3cbb
    • Javokhir's avatar
      chore: replace demo app with react-native library scaffold · 9d97b218
      Javokhir authored
      Repo becomes the myid-sdk npm package: library at root, RN 0.86.2 vanilla
      example app in example/, Turbo Module codegen enabled, yarn 4 workspace.
      
      The previous demo app targeted MyID SDK 2.x (clientId, withPassportData,
      MyIdBuildMode), an API that no longer exists in 3.x, so it is removed rather
      than migrated. Recoverable via the pre-rewrite tag.
      9d97b218