From 739190ca2b7f1b67a78eff33154a4bfd1964f5c4 Mon Sep 17 00:00:00 2001 From: melquiadess <31paths@gmail.com> Date: Mon, 8 Apr 2024 09:09:25 +0100 Subject: [PATCH] Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog --- platform/android/doc_classes/EditorExportPlatformAndroid.xml | 3 +++ platform/android/export/export_plugin.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/platform/android/doc_classes/EditorExportPlatformAndroid.xml b/platform/android/doc_classes/EditorExportPlatformAndroid.xml index 7fce5359ae2d..e7d1fc9171c0 100644 --- a/platform/android/doc_classes/EditorExportPlatformAndroid.xml +++ b/platform/android/doc_classes/EditorExportPlatformAndroid.xml @@ -380,6 +380,9 @@ Allow an application to make its activities persistent. + + Allow an application to post notifications. Added in API level 33. See [url=https://developer.android.com/develop/ui/views/notifications/notification-permission]Notification runtime permission[/url]. + Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. See [url=https://developer.android.com/reference/android/Manifest.permission#PROCESS_OUTGOING_CALLS]PROCESS_OUTGOING_CALLS[/url]. diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 19e215bfafca..0a766614f2cf 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -141,6 +141,7 @@ static const char *android_perms[] = { "MOUNT_UNMOUNT_FILESYSTEMS", "NFC", "PERSISTENT_ACTIVITY", + "POST_NOTIFICATIONS", "PROCESS_OUTGOING_CALLS", "READ_CALENDAR", "READ_CALL_LOG",