Add permission request for Apple embedded platforms, fix microphone input
Co-Authored-By: Miguel de Icaza <miguel@gnome.org> Supersedes https://github.com/godotengine/godot/pull/107233 Fixes https://github.com/godotengine/godot-proposals/issues/12563 Fixes https://github.com/godotengine/godot/issues/33885 Superseding Miguel's PR to get it in during the beta stage.
This commit is contained in:
@ -302,6 +302,7 @@
|
||||
<description>
|
||||
On Android devices: Returns the list of dangerous permissions that have been granted.
|
||||
On macOS: Returns the list of granted permissions and user selected folders accessible to the application (sandboxed applications only). Use the native file dialog to request folder access permission.
|
||||
On iOS, visionOS: Returns the list of granted permissions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_keycode_string" qualifiers="const">
|
||||
@ -781,8 +782,9 @@
|
||||
- [code]OS.request_permission("android.permission.READ_EXTERNAL_STORAGE")[/code]
|
||||
- [code]OS.request_permission("android.permission.POST_NOTIFICATIONS")[/code]
|
||||
- [code]OS.request_permission("macos.permission.RECORD_SCREEN")[/code]
|
||||
- [code]OS.request_permission("appleembedded.permission.AUDIO_RECORD")[/code]
|
||||
[b]Note:[/b] On Android, permission must be checked during export.
|
||||
[b]Note:[/b] This method is implemented on Android and macOS.
|
||||
[b]Note:[/b] This method is implemented on Android, macOS, and visionOS platforms.
|
||||
</description>
|
||||
</method>
|
||||
<method name="request_permissions">
|
||||
|
||||
Reference in New Issue
Block a user