[**react-native-notify-kit**](react-native/reference/index)

---

[react-native-notify-kit](react-native/reference/index) / IOSShowPreviewsSetting

# Enumeration: IOSShowPreviewsSetting

Defined in: [packages/react-native/src/types/NotificationIOS.ts:280](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationIOS.ts#L280)

An enum representing the show previews notification setting for this app on the device.

Value is greater than 0 if previews are to be shown, compare against an exact value
(e.g. WHEN_AUTHENTICATED) for more granular control.

## Platform

ios

## Enumeration Members

### ALWAYS

> **ALWAYS**: `1`

Defined in: [packages/react-native/src/types/NotificationIOS.ts:295](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationIOS.ts#L295)

Always show previews even if the device is currently locked.

---

### NEVER

> **NEVER**: `0`

Defined in: [packages/react-native/src/types/NotificationIOS.ts:290](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationIOS.ts#L290)

Never show previews.

---

### NOT_SUPPORTED

> **NOT_SUPPORTED**: `-1`

Defined in: [packages/react-native/src/types/NotificationIOS.ts:285](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationIOS.ts#L285)

This setting is not supported on this device. Usually this means that the iOS version required
for this setting (iOS 11+) has not been met.

---

### WHEN_AUTHENTICATED

> **WHEN_AUTHENTICATED**: `2`

Defined in: [packages/react-native/src/types/NotificationIOS.ts:300](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationIOS.ts#L300)

Only show previews when the device is unlocked.
