From 26c8071a34937ac1f08cd9b05415ca7225272fd6 Mon Sep 17 00:00:00 2001 From: exzos Date: Mon, 24 Jun 2024 16:12:10 +0200 Subject: [PATCH] fix(android)!: Remove USE_FULL_SCREEN_INTENT permission from package manifest for Android 14 compat (#1027) BREAKING CHANGE: Android 14 no longer allows this by default so no longer include by default. Manually add it if you need it. --- android/src/main/AndroidManifest.xml | 1 - packages/react-native/src/types/Notification.ts | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 30ed2f1bc..816b9a333 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -8,7 +8,6 @@ - diff --git a/packages/react-native/src/types/Notification.ts b/packages/react-native/src/types/Notification.ts index b01643f48..9dcae1761 100644 --- a/packages/react-native/src/types/Notification.ts +++ b/packages/react-native/src/types/Notification.ts @@ -251,6 +251,11 @@ export interface NotificationPressAction { * 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 + * + * ``` + * * Please see the [FullScreen Action](/react-native/docs/android/behaviour#full-screen) document to learn more. */ export interface NotificationFullScreenAction {