[API reference](https://evolu.dev/docs/api-reference) › [@evolu/react-native](https://evolu.dev/docs/api-reference/react-native) › DeviceSecretUnreadableError

Defined in: [react-native/src/DeviceSecret.ts:32](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/react-native/src/DeviceSecret.ts#L32)

The platform's secure storage holds the app's [DeviceSecret](https://evolu.dev/docs/api-reference/common/local-first/Auth/variables/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](https://evolu.dev/docs/api-reference/react-native/functions/forgetDeviceSecret).

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"DeviceSecretUnreadable"`\>

## Properties

<a id="type"></a>

### type

```ts
readonly type: "DeviceSecretUnreadable";
```

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

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)