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

---

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

# Interface: InitialNotification

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

An interface representing a notification & action that launched the current app / or Android activity.

View the [App open events](/react-native/events#app-open-events) documentation to learn more.

This interface is returned from [`getInitialNotification`](/react-native/reference/getinitialnotification) when
an initial notification is available.

Deprecated for iOS in favour of `onForegroundEvent`

## Platform

android

## Properties

### input?

> `optional` **input?**: `string`

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

The input from a notification action.

The input detail is available when the [`EventType`](/react-native/reference/eventtype) is:

- [`EventType.ACTION_PRESS`](/react-native/reference/eventtype#action_press)
- The notification quick action has input enabled. View [`AndroidInput`](/react-native/reference/androidinput) for more details.

#### Platform

android API Level >= 20

---

### notification

> **notification**: [`Notification`](react-native/reference/Interface.Notification)

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

The notification which the user interacted with, which caused the application to open.

---

### pressAction

> **pressAction**: [`NotificationPressAction`](react-native/reference/Interface.NotificationPressAction)

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

The press action which the user interacted with, on the notification, which caused the application to open.
