Skip to content

Commit 0d0d23c

Browse files
committed
Merge pull request godotengine#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
2 parents 0fd440e + 739190c commit 0d0d23c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

platform/android/doc_classes/EditorExportPlatformAndroid.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@
380380
<member name="permissions/persistent_activity" type="bool" setter="" getter="" deprecated="Deprecated in API level 15.">
381381
Allow an application to make its activities persistent.
382382
</member>
383+
<member name="permissions/post_notifications" type="bool" setter="" getter="" deprecated="">
384+
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].
385+
</member>
383386
<member name="permissions/process_outgoing_calls" type="bool" setter="" getter="" deprecated="Deprecated in API level 29.">
384387
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].
385388
</member>

platform/android/export/export_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ static const char *android_perms[] = {
141141
"MOUNT_UNMOUNT_FILESYSTEMS",
142142
"NFC",
143143
"PERSISTENT_ACTIVITY",
144+
"POST_NOTIFICATIONS",
144145
"PROCESS_OUTGOING_CALLS",
145146
"READ_CALENDAR",
146147
"READ_CALL_LOG",

0 commit comments

Comments
 (0)