Commit graph

850 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
ef0163ba9f Add support for PiP mode 2026-03-06 23:29:16 -08:00
Rémi Verschelde
19726167ce
Merge pull request #117131 from syntaxerror247/fixing-my-blunder
Android: Fix FileAccess crash when using treeUri in Gradle-built apps
2026-03-06 12:44:43 +01:00
Rémi Verschelde
a772f16387
Merge pull request #117109 from syntaxerror247/script-editor-portrait
Android editor: Enable orientation change in Script Editor
2026-03-06 12:44:31 +01:00
Anish Kumar
25a203aa34 Android editor: Enable orientation change in Script Editor 2026-03-06 06:24:42 +05:30
Anish Kumar
ed8853b8d1 Android: Fix FileAccess crash when using treeUri in Gradle-built apps 2026-03-06 05:48:42 +05:30
Rémi Verschelde
a447ac95ec
Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Thaddeus Crews
b62cbfdaa8
Merge pull request #115888 from m4gr3d/fix_platform_bom_dependency_insertion
Android: Add support for plugins gradle platform dependencies
2026-02-24 09:29:30 -06:00
Fredia Huya-Kouadio
8d14a178e9 Implement project.godot file associations for the Android editor 2026-02-10 14:13:07 -08:00
Thaddeus Crews
833889aec0
Merge pull request #115710 from syntaxerror247/fix-seek
Fix `FileAccess.seek_end` behavior on Android
2026-02-09 15:07:07 -06:00
Anish Kumar
0c89904687 Fix FileAccess.seek_end behavior on Android 2026-02-08 00:16:34 +05:30
Fredia Huya-Kouadio
88b292a098 Update the logic to insert plugins dependencies to support gradle platform dependencies 2026-02-04 17:12:18 -08:00
Thaddeus Crews
2487a297b2
Merge pull request #113469 from m4gr3d/deprecate_dev_buildtype
Deprecate the Android studio `dev` buildtype
2026-02-03 18:06:52 -06:00
Fredia Huya-Kouadio
feb8e6ff13 Deprecate the Android studio dev buildtype
The project is setup in Android Studio with three buildtypes:
- `release` for release builds of the engine
- `debug` for debug builds of the engine with `dev_mode`, `dev_build`, and `debug_symbols` disabled
- `dev` for debug builds of the engine with `dev_mode`, `dev_build`, and `debug_symbols` enabled

This commit deprecates and removes the `dev` buildtype and instead enables `dev_mode`, `dev_build`, and `debug_symbols` for the `debug` buildtype when building with Android Studio.

The `release` buildtype has also been updated such that a `release` build built with Android Studio and signed with non-production keys can be installed side-by-side with a production-signed release (e.g: from the store).
2026-02-03 06:55:00 -08:00
Anish Kumar
1c80b25af8 Android: Fix Bad file descriptor in SAF/MediaStore in long term access 2026-02-02 15:47:16 +05:30
Rémi Verschelde
e273d83ff5
Merge pull request #115718 from syntaxerror247/fix-file-access-tests
Fix file access tests failing on older Android devices
2026-02-02 10:10:55 +01:00
David Snopek
ec404a91d3 Android: Fail instrumented tests when test function doesn't complete 2026-02-01 10:42:17 -06:00
Anish Kumar
ddffef6fb1 Fix file access tests failing on older Android devices 2026-02-01 21:47:16 +05:30
Thaddeus Crews
6539f7fade
Merge pull request #113761 from m4gr3d/bump_android_version_2026
Annual Android versions bump for 2026
2026-01-28 17:58:21 -06:00
Fredia Huya-Kouadio
e86050e745 Annual Android versions bump for 2026 2026-01-28 13:17:48 -08:00
Anish Kumar
40b770ecf0 Fix crash in StorageScope.kt on Android 2026-01-28 22:36:30 +05:30
Thaddeus Crews
ea1e6640f0
Merge pull request #115434 from syntaxerror247/landscape-or-portrait
Add device orientation change signal to DisplayServer
2026-01-27 15:18:22 -06:00
Anish Kumar
e2369a834b Add device orientation change signal in DisplayServer
This PR:
- Fixes the orientation detection logic on Android
- Adds an orientation_changed signal in DisplayServer

Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-01-27 23:35:44 +05:30
Thaddeus Crews
ed0ae97d98
Merge pull request #114922 from DarioSamo/android-platform-gl3-fallback-fix
Fix fallback to OpenGL3 from Vulkan initialization on Android.
2026-01-27 09:04:14 -06:00
Anish Kumar
c7e5caa68e Enable native file picker support on Android 9 and older 2026-01-22 16:54:07 +05:30
Dario
542f8ddf22 Fix fallback to OpenGL3 from Vulkan initialization on Android. 2026-01-14 23:55:21 -03:00
Rémi Verschelde
4595e5fc6c
Merge pull request #114207 from m4gr3d/fix_anr_on_exit
Android: Fix ANRs when shutting down the engine due to the render thread
2026-01-08 22:57:13 +01:00
Fredia Huya-Kouadio
422cc7b91b Fix ANRs when shutting down the engine 2026-01-07 13:40:06 -08:00
Pāvels Nadtočajevs
f10b71ff56
[Android/Gradle] Do not ignore asset folders starting with _. 2026-01-02 22:08:24 +02:00
Rémi Verschelde
16975f5c24
Merge pull request #114465 from m4gr3d/fix_editor_hybrid_app_support_detection
[Android editor] Restrict Android editor support for hybrid app projects to XR devices
2026-01-01 16:47:59 +01:00
Rémi Verschelde
d45718ecb4
Merge pull request #114334 from Nintorch/android-fix-joypad-fingerprints
Fix Android fingerprint scanners being recognized as joypads
2026-01-01 16:47:09 +01:00
Fredia Huya-Kouadio
185a4abcb5 Fix hybrid app support detection for the Android editor 2025-12-31 19:17:56 -08:00
Fredia Huya-Kouadio
be24804e1a Trigger save of the RD pipeline cache on application pause 2025-12-30 19:25:29 -08:00
Anish Kumar
614e35f04b Fix AAB file not copied to export path 2025-12-28 03:54:21 +05:30
Nintorch
66e357f29a Joypads: ignore Android fingerprint scanners
Fix Android fingerprint scanners being detected as joypads
2025-12-26 23:28:47 +05:00
Thaddeus Crews
5311b5e4d0
Merge pull request #113878 from m4gr3d/fix_obb_dir_access
Fix storage scope for the obb directory
2025-12-15 08:01:14 -06:00
Fredia Huya-Kouadio
c9fb6a3040 Ensure that the permission requests results are dispatched on the render thread 2025-12-12 14:38:54 -08:00
Fredia Huya-Kouadio
280120b1f8 Add instrumentation tests to validate obb directory access 2025-12-12 14:20:13 -08:00
Fredia Huya-Kouadio
b40afd6781 Fix storage scope for the obb directory 2025-12-10 21:58:40 -08:00
Fredia Huya-Kouadio
27e63aa270 Update the version of the OpenXR Vendors plugin to the latest stable version 2025-12-05 09:00:13 -08:00
Thaddeus Crews
bed803fcda
Merge pull request #113367 from syntaxerror247/persistable_uri_perm
Android: Add method to take persistable URI permission
2025-12-02 11:52:09 -06:00
Thaddeus Crews
cd8a292324
Merge pull request #113297 from shiena/feature/lifecycle-callbacks
Add platform lifecycle callbacks to CameraServer base class
2025-12-02 11:51:52 -06:00
Anish Kumar
398927226e Android: Add method to take persistable URI permission 2025-12-02 19:40:49 +05:30
Rémi Verschelde
12ca45a905
Merge pull request #112215 from syntaxerror247/SAF-support
Android: Implement Storage Access Framework (SAF) support
2025-12-02 14:15:53 +01:00
KOGA Mitsuhiro
85ec5b9f42 Add platform lifecycle callbacks to CameraServer base class 2025-12-02 00:31:51 +09:00
Fredia Huya-Kouadio
0f160c7293 Fix Android build regression introduced by https://github.com/godotengine/godot/pull/110829 2025-12-01 01:21:32 -08:00
David Snopek
5593a0b2b2 Enable Gradle builds on the Android editor via a dedicated build app
Co-authored-by: Logan Lang <devloglogan@gmail.com>
2025-11-27 11:03:06 -06:00
Rémi Verschelde
b22d15311c
Merge pull request #113159 from dsnopek/android-variant-to-jvalue-memory-issues
Android: Fix memory issues in `_variant_to_jvalue()`
2025-11-27 09:56:04 +01:00
David Snopek
c2f8d1a29b Android: Fix memory issues in _variant_to_jvalue() 2025-11-26 11:17:34 -06:00
Fredia Huya-Kouadio
023024440b Deprecate and remove vendors specific XR APIs from the Godot core Android library
Follow-up to https://github.com/GodotVR/godot_openxr_vendors/pull/380, done in order to prevent vendors specific dependencies onto the Godot core Android library.
2025-11-25 17:06:43 -08:00
Anish Kumar
60d20ab038 Android: Implement Storage Access Framework (SAF) support 2025-11-26 02:37:30 +05:30