Browse Source

Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog

(cherry picked from commit 739190ca2b7f1b67a78eff33154a4bfd1964f5c4)
melquiadess 1 year ago
parent
commit
0eca87df51

+ 3 - 0
platform/android/doc_classes/EditorExportPlatformAndroid.xml

@@ -371,6 +371,9 @@
 			Allow an application to make its activities persistent.
 			Allow an application to make its activities persistent.
 			Deprecated in API level 15.
 			Deprecated in API level 15.
 		</member>
 		</member>
+		<member name="permissions/post_notifications" type="bool" setter="" getter="">
+			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].
+		</member>
 		<member name="permissions/process_outgoing_calls" type="bool" setter="" getter="">
 		<member name="permissions/process_outgoing_calls" type="bool" setter="" getter="">
 			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].
 			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].
 			Deprecated in API level 29.
 			Deprecated in API level 29.

+ 1 - 0
platform/android/export/export_plugin.cpp

@@ -140,6 +140,7 @@ static const char *android_perms[] = {
 	"MOUNT_UNMOUNT_FILESYSTEMS",
 	"MOUNT_UNMOUNT_FILESYSTEMS",
 	"NFC",
 	"NFC",
 	"PERSISTENT_ACTIVITY",
 	"PERSISTENT_ACTIVITY",
+	"POST_NOTIFICATIONS",
 	"PROCESS_OUTGOING_CALLS",
 	"PROCESS_OUTGOING_CALLS",
 	"READ_CALENDAR",
 	"READ_CALENDAR",
 	"READ_CALL_LOG",
 	"READ_CALL_LOG",