Bladeren bron

Merge pull request #90377 from melquiadess/add-post-notification-permission-to-a-list-of-available-permissions

Android: Add `POST_NOTIFICATIONS` permission to the list of permissions available in the Export dialog
Rémi Verschelde 1 jaar geleden
bovenliggende
commit
0d0d23cb61

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

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

+ 1 - 0
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",