learning_ai_common_plat/packages/swift-platform-sdk/Sources
saravanakumardb1 ee762b4612 feat(native-sdks): add BLFieldEncrypt to Swift + Kotlin platform SDKs
- Swift: BLFieldEncrypt.swift + BLFieldEncryptTests.swift (22 tests)
  - CryptoKit AES-256-GCM, BLEncryptedField Codable struct
  - encrypt/decrypt, AAD support, generateKey, keyFromHex, isEncrypted
  - Data hex helpers (hexString, init?(hexString:))

- Kotlin: BLFieldEncrypt.kt + BLFieldEncryptTest.kt (21 tests)
  - javax.crypto AES-256-GCM, BLEncryptedField data class
  - encrypt/decrypt, AAD support, generateKey, keyFromHex, isEncrypted
  - ByteArray/String hex extension functions

- Wire-compatible: same EncryptedField JSON structure as @bytelyst/field-encrypt (TS)
  - { __encrypted: true, v: 1, alg: 'aes-256-gcm', ct, iv, tag, dekId }
  - All hex-encoded, 12-byte IV, 16-byte auth tag

- Fix: ByteLystPlatform.kt getString() → read() (pre-existing compile error)
2026-03-21 10:58:02 -07:00
..
BLAuditLogger.swift fix(swift-sdk): match date decoding strategy in BLAuditLogger 2026-02-28 22:55:00 -08:00
BLAuthClient.swift fix(auth): SDK device/login-events response wrappers + correct API paths 2026-03-12 15:42:54 -07:00
BLAuthUI.swift fix(auth): address SmartAuth agent review gaps — Swift mock wiring, passkey SDK consistency, device list parity, JSDoc, SSR docs 2026-03-12 12:27:08 -07:00
BLBiometricAuth.swift fix(swift-sdk): guard BLBiometricAuth and BLCrashReporter for watchOS compatibility 2026-02-28 22:51:26 -08:00
BLBlobClient.swift feat(swift-sdk): add 6 new components — BLBlobClient, BLKillSwitchClient, BLLicenseClient, BLBiometricAuth, BLCrashReporter, BLAuditLogger 2026-02-28 22:38:43 -08:00
BLBroadcastClient.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLCrashReporter.swift fix(swift-sdk): guard BLBiometricAuth and BLCrashReporter for watchOS compatibility 2026-02-28 22:51:26 -08:00
BLDeepLinkRouter.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLFeatureFlagClient.swift docs(sdk): fix stale route references in Swift SDK source comments and README 2026-03-02 09:17:09 -08:00
BLFeedbackClient.swift feat(platform-sdk): implement TODO-2 and TODO-3 - Swift and Kotlin feedback clients 2026-03-03 07:18:45 -08:00
BLFieldEncrypt.swift feat(native-sdks): add BLFieldEncrypt to Swift + Kotlin platform SDKs 2026-03-21 10:58:02 -07:00
BLInAppMessageUI.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLKeychain.swift feat(swift-sdk): add ByteLystPlatformSDK — shared Swift package for all iOS/watchOS/macOS apps 2026-02-28 22:12:20 -08:00
BLKillSwitchClient.swift fix(swift-sdk): URL-encode license key + add request tracing to kill switch 2026-02-28 22:52:00 -08:00
BLLicenseClient.swift fix(swift-sdk): URL-encode license key + add request tracing to kill switch 2026-02-28 22:52:00 -08:00
BLPlatformClient.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLPlatformConfig.swift feat(swift-sdk): add ByteLystPlatformSDK — shared Swift package for all iOS/watchOS/macOS apps 2026-02-28 22:12:20 -08:00
BLSurveyClient.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLSurveyUI.swift fix(swift-sdk): add buildRequest, BLPlatformError, fix SDK compile errors for iOS 26 2026-03-19 14:22:18 -07:00
BLSyncEngine.swift feat(swift-sdk): add ByteLystPlatformSDK — shared Swift package for all iOS/watchOS/macOS apps 2026-02-28 22:12:20 -08:00
BLTelemetryClient.swift docs(sdk): fix stale route references in Swift SDK source comments and README 2026-03-02 09:17:09 -08:00
ByteLystPlatform.swift fix(swift-sdk): resolve BLAuditLogger + BLCrashReporter build errors in ByteLystPlatform 2026-03-20 23:28:47 -07:00
ByteLystPlatformSDK.swift docs(sdk): fix stale route references in Swift SDK source comments and README 2026-03-02 09:17:09 -08:00