API reference › @evolu/react-native › DeviceSecretUnreadableError

Defined in: react-native/src/DeviceSecret.ts:32

The platform's secure storage holds the app's DeviceSecret but can't read it, on Android when the stored record is too short to hold the encrypted secret, the Keystore lost the key that encrypts it or, as Android 13 and later report, the Keystore's own database entry of that key is corrupted, or the record fails authentication. Evolu never deletes a stored secret on its own, so let the user try again, and only when that fails too offer to start over with forgetDeviceSecret.

Extends

  • Typed<"DeviceSecretUnreadable">

Properties

type

readonly type: "DeviceSecretUnreadable";

Defined in: common/dist/src/Type.d.ts:9507

Inherited from

Typed.type