ApplePersistenceConfig

data class ApplePersistenceConfig(val serviceName: String)

Apple-platform configuration for Kalium's encrypted key/value storage.

Consumers (host apps) construct this and hand it to CoreLogic. It is then carried through to every Apple-side site that talks to the iOS Keychain.

Extend this class — do NOT add new top-level parameters to CoreLogic — when new iOS Keychain options (access group, accessibility class, synchronizable, etc.) need to be exposed.

Constructors

Link copied to clipboard
constructor(serviceName: String)

Properties

Link copied to clipboard
val serviceName: String

Stable identifier used as the iOS Keychain kSecAttrService value for all Kalium-managed entries (auth tokens, passphrases, per-user config). Must be stable across app reinstalls — typically the host app's bundle identifier. Must NOT be derived from NSHomeDirectory(), which embeds the iOS Application UUID and changes on every reinstall, orphaning every previously stored entry.