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

---

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

# Interface: NotificationFullScreenAction

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

The interface used to describe a full-screen action for a notification.

Setting a `fullScreenAction` configures the notification to request Full-Screen Intent presentation from Android.
Actual full-screen presentation depends on the app's Full-Screen Intent access and Android platform conditions.

On Android; when provided to a notification action, the action will only open you application if
a `launchActivity` and/or a `mainComponent` is provided.

Requires the following permission to be added to your `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
```

Please see the [FullScreen Action](/react-native/android/behaviour#full-screen) document to learn more.

## Properties

### id

> **id**: `string`

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

The unique ID for the action.

The `id` property is used to differentiate between full-screen actions. When listening to notification
events, the ID can be read from the `event.detail.notification.android.fullScreenAction` object.

---

### launchActivity?

> `optional` **launchActivity?**: `string`

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

The custom Android Activity to launch on a full-screen action.

This property can be used in advanced scenarios to launch a custom Android Activity when the user
performs a full-screen action.

View the [Android Full Screen](/react-native/android/behaviour#full-screen) docs to learn more.

#### Platform

android

---

### launchActivityFlags?

> `optional` **launchActivityFlags?**: [`AndroidLaunchActivityFlag`](react-native/reference/Enumeration.AndroidLaunchActivityFlag)\[]

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

Custom flags that are added to the Android [Intent](https://developer.android.com/reference/android/content/Intent.html) that launches your Activity.

These are only required if you need to customise the behaviour of how your activities are launched; by default these are not required.

#### Platform

android

---

### mainComponent?

> `optional` **mainComponent?**: `string`

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

A custom registered React component to launch on press action.

This property can be used to open a custom React component when the notification is displayed.
For this to correctly function on Android, a minor native code change is required.

View the [Full-screen Action](/react-native/android/behaviour#full-screen) document to learn more.

#### Platform

android
