[**@notifee/react-native**](react-native/reference/index)

***

[@notifee/react-native](react-native/reference/index) / AndroidLaunchActivityFlag

# Enumeration: AndroidLaunchActivityFlag

An enum representing the various flags that can be passed along to `launchActivityFlags` on `NotificationPressAction`.

These flags 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 your activities, in most cases you might not need these.

## Platform

android

## Enumeration Members

### BROUGHT\_TO\_FRONT

> **BROUGHT\_TO\_FRONT**: `8`

See [FLAG\_ACTIVITY\_BROUGHT\_TO\_FRONT](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_BROUGHT_TO_FRONT) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1393](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1393)

***

### CLEAR\_TASK

> **CLEAR\_TASK**: `16`

See [FLAG\_ACTIVITY\_CLEAR\_TASK](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TASK) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1433](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1433)

***

### CLEAR\_TOP

> **CLEAR\_TOP**: `4`

See [FLAG\_ACTIVITY\_CLEAR\_TOP](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1373](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1373)

***

### CLEAR\_WHEN\_TASK\_RESET

> **CLEAR\_WHEN\_TASK\_RESET**: `11`

See [FLAG\_ACTIVITY\_CLEAR\_WHEN\_TASK\_RESET](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1408](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1408)

***

### EXCLUDE\_FROM\_RECENTS

> **EXCLUDE\_FROM\_RECENTS**: `7`

See [FLAG\_ACTIVITY\_EXCLUDE\_FROM\_RECENTS](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1388](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1388)

***

### FORWARD\_RESULT

> **FORWARD\_RESULT**: `5`

See [FLAG\_ACTIVITY\_FORWARD\_RESULT](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1378](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1378)

***

### LAUNCH\_ADJACENT

> **LAUNCH\_ADJACENT**: `19`

See [FLAG\_ACTIVITY\_LAUNCH\_ADJACENT](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_LAUNCH_ADJACENT) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1448](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1448)

***

### LAUNCHED\_FROM\_HISTORY

> **LAUNCHED\_FROM\_HISTORY**: `10`

See [FLAG\_ACTIVITY\_LAUNCHED\_FROM\_HISTORY](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1403](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1403)

***

### MATCH\_EXTERNAL

> **MATCH\_EXTERNAL**: `20`

See [FLAG\_ACTIVITY\_MATCH\_EXTERNAL](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_MATCH_EXTERNAL) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1453](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1453)

***

### MULTIPLE\_TASK

> **MULTIPLE\_TASK**: `3`

See [FLAG\_ACTIVITY\_MULTIPLE\_TASK](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_MULTIPLE_TASK) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1368](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1368)

***

### NEW\_DOCUMENT

> **NEW\_DOCUMENT**: `12`

See [FLAG\_ACTIVITY\_NEW\_DOCUMENT](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_DOCUMENT) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1413](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1413)

***

### NEW\_TASK

> **NEW\_TASK**: `2`

See [FLAG\_ACTIVITY\_NEW\_TASK](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NEW_TASK) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1363](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1363)

***

### NO\_ANIMATION

> **NO\_ANIMATION**: `15`

See [FLAG\_ACTIVITY\_NO\_ANIMATION](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_ANIMATION) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1428](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1428)

***

### NO\_HISTORY

> **NO\_HISTORY**: `0`

See [FLAG\_ACTIVITY\_NO\_HISTORY](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_HISTORY) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1353](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1353)

***

### NO\_USER\_ACTION

> **NO\_USER\_ACTION**: `13`

See [FLAG\_ACTIVITY\_NO\_USER\_ACTION](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_USER_ACTION) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1418](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1418)

***

### PREVIOUS\_IS\_TOP

> **PREVIOUS\_IS\_TOP**: `6`

See [FLAG\_ACTIVITY\_PREVIOUS\_IS\_TOP](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_PREVIOUS_IS_TOP) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1383](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1383)

***

### REORDER\_TO\_FRONT

> **REORDER\_TO\_FRONT**: `14`

See [FLAG\_ACTIVITY\_REORDER\_TO\_FRONT](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1423](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1423)

***

### RESET\_TASK\_IF\_NEEDED

> **RESET\_TASK\_IF\_NEEDED**: `9`

See [FLAG\_ACTIVITY\_RESET\_TASK\_IF\_NEEDED](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_RESET_TASK_IF_NEEDED) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1398](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1398)

***

### RETAIN\_IN\_RECENTS

> **RETAIN\_IN\_RECENTS**: `18`

See [FLAG\_ACTIVITY\_RETAIN\_IN\_RECENTS](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_RETAIN_IN_RECENTS) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1443](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1443)

***

### SINGLE\_TOP

> **SINGLE\_TOP**: `1`

See [FLAG\_ACTIVITY\_SINGLE\_TOP](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_SINGLE_TOP) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1358](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1358)

***

### TASK\_ON\_HOME

> **TASK\_ON\_HOME**: `17`

See [FLAG\_ACTIVITY\_TASK\_ON\_HOME](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_TASK_ON_HOME) on the official Android documentation for more information.

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1438](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1438)
