Anish Mishra
e084e479bf
Fix Android editor UI
2025-05-25 22:59:41 +05:30
Thaddeus Crews
596a8eb54c
Merge pull request #106462 from shiena/fix/prevent-camera-permission
...
Android: Don't request `CAMERA` permission on editor startup
2025-05-16 07:43:14 -05:00
Fredia Huya-Kouadio
1b0bd35f09
Update the GodotOpenXR meta-data removal logic
...
Godot OpenXR Vendor plugin version 4.0.0-stable changed the plugin's manifest declaration, so this updates the logic to remove that manifest declaration to match.
2025-05-15 16:38:11 -07:00
KOGA Mitsuhiro
64e2c31c10
Android: Don't request CAMERA permission on editor startup
2025-05-16 06:45:37 +09:00
Leo de Penning
296ca79b9d
Add CameraFeed support for Android
...
Co-authored-by: KOGA Mitsuhiro <shiena.jp@gmail.com >
2025-05-13 22:46:06 +09:00
Fredia Huya-Kouadio
c29545f793
Bump the minimum supported SDK version to 24
...
Raise the minimum supported Android version from Android 5 (Lollipop) to Android 7 (Nougat).
2025-05-08 09:45:32 -04:00
Fredia Huya-Kouadio
4b4144cc39
Annual versions bump for the Android platform
...
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-05-07 13:14:49 -04:00
Anish Mishra
f8e935d406
Enable close button on PicoOS
2025-04-29 22:38:37 +05:30
Fredia Huya-Kouadio
8a514ae56f
Enable native debug symbols generation
2025-04-22 09:04:49 -07:00
Alex
cd68034e01
Add configuration option to disable Scroll Deadzone on Android
2025-04-07 22:15:31 +02:00
Rémi Verschelde
e9d827b440
Merge pull request #103173 from m4gr3d/fix_prebuilt_manifest_config
...
Updates and fixes to the Android prebuilt export logic
2025-03-28 14:31:57 +01:00
Anish Mishra
afe68f672f
Add support for "Mute Game" toggle in the Android Editor
2025-03-21 01:33:38 +05:30
Fredia Huya-Kouadio
845c925b67
Add support for export plugins to modify the Android prebuilt manifest
2025-03-14 16:05:09 -07:00
Thaddeus Crews
56bc9bc2f4
Merge pull request #102984 from syntaxerror247/volume-buttons
...
Android: enable support for volume button events
2025-03-11 09:34:46 -05:00
Alex
1c02316365
Fix crash after changing device language
...
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.
2025-03-01 02:42:56 +01:00
Anish Mishra
5ce16dfc69
Android: enable support for volume button events
...
- Enable events KEY_VOLUMEUP and KEY_VOLUMEDOWN on Android.
- Adds a project setting to override volume buttons. It would disable system volume changes when the buttons are used within the project.
2025-02-28 09:47:22 +05:30
Anish Mishra
129ffce06a
Android Editor: Fix expand button black bar issue
2025-02-21 13:00:49 +05:30
Rémi Verschelde
3787cc4901
Merge pull request #102802 from syntaxerror247/fix_orientation_handling
...
Android Editor: Fix embed mode orientation handling
2025-02-13 23:35:12 +01:00
Anish Mishra
4a22e007f6
Android Editor: Fix embed mode orientation handling
2025-02-13 22:22:50 +05:30
Fredia Huya-Kouadio
8ed8b4a89d
Bump the version of the openxr vendors plugin dependency
2025-02-12 09:51:07 -08:00
Fredia Huya-Kouadio
2a66335ec2
Address API regression from https://github.com/godotengine/godot/pull/101050
2025-02-11 10:19:47 -08:00
Fredia Huya-Kouadio
7495a8a02e
Add support for embedding game process in the Android Editor
...
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 -08:00
Jamie Pate
605b97075f
Fix create_instance in android GodotApp so non-editor apps can restart
...
Enables OS.create_instance(args) and OS.set_restart_on_exit(true, args)
on android.
Borrowed the logic from the editor, so it completely restarts the
process so you can pass --rendering-method, --rendering-driver to switch
between forward_plus, mobile, gl_compatibility etc on an exported app.
Related:
https://github.com/godotengine/godot-proposals/issues/6423
2025-01-19 03:23:45 -08:00
Fredia Huya-Kouadio
b4f25b1863
Clean up the XR editor logic
...
- Coalesce common logic into the `main` flavor to avoid duplication
- Code cleanup
2025-01-16 09:40:30 -08:00
Anish Mishra
867ae4d85a
Update Android editor name and add missing icons
2025-01-14 13:46:45 +05:30
Rémi Verschelde
b7c0a0fbd1
Merge pull request #101387 from picoxr/add-picoos-immersivemode
...
Add PICO OS Immersive Mode
2025-01-13 20:22:11 +01:00
ygz-bd
a2bfb7cff2
Enable XR Preview Mode for PICO OS
...
Supported features in the immersive preview mode
- Passthrough
- Hand tracking
Notes:
- Multi-window is only available for internal apps on PICO OS, therefore launching adjacent windows is not possible currently.
- Passthrough splash screen is not supported on PICO OS
2025-01-13 16:34:22 +00:00
Fredia Huya-Kouadio
4bc8918c19
Add support for specifying whether to play the current scene or a specific scene in XR or regular mode
...
The functionality is only activated for the XR Editor, when a project has OpenXR enabled.
2025-01-12 22:02:24 -08:00
Anish Mishra
d7532f0d31
Android Editor: Fix themed icon
2025-01-06 19:14:00 +05:30
Fredia Huya-Kouadio
7ad9d23a1d
Updates how the REQUEST_INSTALL_PACKAGES permission is handled
...
- Only request the permission the first time the editor tries to open an apk
- Disable the permission for the HorizonOS build as the HorizonOS store doesn't support it yet
2024-12-25 20:04:34 -08:00
Thaddeus Crews
a767a65cdf
Merge pull request #99123 from tygyh/Update-vulnerable-plugins
...
Update JavaScript/Java plugins to solve known vulnerabilities
2024-11-13 08:34:00 -06:00
Dr. Dystopia
3077463151
Update JavaScript/Java plugins to solve known vulnerabilities
...
Done using the Snyk tool.
2024-11-12 16:06:35 +01:00
Anish Mishra
6fd8d7b634
Android: Update exported app and editor theme
2024-11-08 22:37:52 +05:30
Fredia Huya-Kouadio
af2423ba4d
Enable automatic install of export apks for the Android editor
2024-10-28 16:12:16 -07:00
Fredia Huya-Kouadio
77202e08b4
Update the set of excluded permissions for the XR Editor
...
A few permissions including the `USE_SCENE` permission are being renamed with the launch of the Meta Spatial SDK, so we update the excluded list to avoid requesting them on app start.
2024-09-25 23:22:16 -07:00
Fredia Huya-Kouadio
741efa632a
Update the Android editor flavors to avoid vendor-specific references
2024-09-13 08:53:29 -07:00
Rémi Verschelde
f33a81977b
Merge pull request #96742 from m4gr3d/check_openxr_automatic_permissions_request
...
[Android editor] Limit when OpenXR runtime permissions are requested
2024-09-12 09:17:51 +02:00
Fredia Huya-Kouadio
3ff95ef12a
Only request OpenXR permissions for a XR game running off the Android editor when the xr/openxr/extensions/automatically_request_runtime_permissions project setting is enabled
2024-09-11 14:47:08 -07:00
devloglogan
16e1d8a81b
Disable some editor settings by default in the XR Editor
2024-09-09 07:15:15 -05:00
Fredia Huya-Kouadio
9dc0543da7
Improve support for XR projects
2024-09-06 00:35:50 -07:00
Fredia Huya-Kouadio
11d4df4bc3
Update the options for launching the Play window in PiP mode
2024-08-30 10:31:33 -07:00
Rémi Verschelde
b128e71383
Merge pull request #96208 from m4gr3d/cleanup_immersive_logic
...
Restore fullscreen toggle menu for the Android editor and clean up the immersive mode logic
2024-08-30 09:59:27 +02:00
Rémi Verschelde
526b35c929
Merge pull request #96254 from raulsntos/android/keyStore.isEmpty()
...
[Android] Check if `keyStore` path is empty
2024-08-29 10:36:49 +02:00
Fredia Huya-Kouadio
923b0f2e56
Restore 'Toggle fullscreen' menu for the Android editor and clean up the immersive mode logic
2024-08-28 09:50:34 -07:00
Raul Santos
efe5f988e0
[Android] Check if keyStore path is empty
...
In `godot-build-scripts`, the default `config.sh` sets `GODOT_ANDROID_SIGN_KEYSTORE` to an empty string but we were only checking if it's null.
2024-08-28 17:24:54 +02:00
Fredia Huya-Kouadio
961394a988
Add support for launching the Play window in PiP mode
2024-08-28 03:18:51 -07:00
Fredia Huya-Kouadio
6a9c060883
Add support to the Android editor for signing and verifying Android apks
...
- Apk signing and verification is enabled using the apksig library from ac5cbb07d8
2024-08-26 11:38:49 -07:00
Fredia Huya-Kouadio
a5897d579b
Update the GodotHost interface to support signing and verifying Android apks
...
Update the export logic to enable apk generation and signing for Android editor builds
Note: Only legacy builds are supported. Gradle builds are not supported at this point in time.
2024-08-26 11:16:38 -07:00
Fredia Huya-Kouadio
4d0da74014
Fix the cleanup logic for the Android render thread
...
On Android the exit logic goes through `Godot#onDestroy()` who attempts to cleanup the engine using the following code:
```
runOnRenderThread {
GodotLib.ondestroy()
forceQuit()
}
```
The issue however is that by the time we ran this code, the render thread has already been paused (but not yet destroyed), and thus `GodotLib.ondestroy()` and `forceQuit()` which are scheduled on the render thread are not executed.
To address this, we instead explicitly request the render thread to exit and block until it does. As part of it exit logic, the render thread has been updated to properly destroy and clean the native instance of the Godot engine, resolving the issue.
2024-07-24 10:17:46 -07:00
Fredia Huya-Kouadio
5e59819727
Cleanup Android input on render thread settings
...
Follow up to https://github.com/godotengine/godot/pull/93933
Clean up the set of settings use to control whether Android input should be dispatched on the render thread.
Addresses comments in https://github.com/godotengine/godot/pull/93933#issuecomment-2210437977
2024-07-09 09:15:18 -07:00