Commit graph

864 commits

Author SHA1 Message Date
Anish Kumar
ee82a8f69d Android: Add export options to customize splash screen 2026-04-09 11:39:36 +05:30
Fredia Huya-Kouadio
50f6eff29b [Android] Clean up Godot.kt by moving natively accessed methods to the (new) GodotNativeBridge.kt internal class 2026-04-08 10:24:37 -07:00
Thaddeus Crews
5c2b6814ea
Merge pull request #117653 from m4gr3d/fix_back_navigation_handling
[Android] Fix handling of back navigation when targeting API level 36
2026-04-07 18:21:45 -05:00
Fredia Huya-Kouadio
ea070aceec [Android] Fix handling of back navigation when targeting API level 36 2026-04-07 10:03:28 -07:00
Thaddeus Crews
a490c267a2
Merge pull request #115498 from m4gr3d/add_javaclasswrapper_proxy_interfaces
Android: Allow implementing java interfaces from GDScript
2026-04-01 12:55:15 -05:00
Fredia Huya-Kouadio
70c684a063 Allow implementing java interfaces from GDScript 2026-03-30 11:49:43 -07:00
Rémi Verschelde
40b218a679
Merge pull request #117643 from m4gr3d/android_editor_bug_fixes
[Android] Follow up fixes to enabling orientation change in the script editor
2026-03-26 16:01:30 +01:00
Rémi Verschelde
0f53286459
Merge pull request #117682 from syntaxerror247/sigal-registration-issue
Fix plugin signal registration error on Android
2026-03-23 22:35:50 +01:00
Fredia Huya-Kouadio
c214ef348a [Android] Follow up fixes to enabling orientation change in the script editor
- Fix project manager crash when rotating the device
- Fix title bar disappearing when rotating large screen devices (tablet and foldables)
2026-03-20 12:06:47 -07:00
Anish Kumar
2e208489e7 Fix plugin signal registration error on Android 2026-03-21 00:07:37 +05:30
Fredia Huya-Kouadio
46984cf152 Bump the minimum api version and hardware version for Vulkan support
Follows the recommendations from https://developer.android.com/games/develop/vulkan/native-engine-support#recommendations
2026-03-18 20:47:48 -07:00
Thaddeus Crews
be33d1ceb0
Merge pull request #114941 from syntaxerror247/fix-HashMap-crash
Android: Fix java.util.HashMap handling
2026-03-17 13:44:11 -05:00
Anish Kumar
5387f0d596 Android: Fix crash when emitting signal with java.util.HashMap 2026-03-17 22:55:18 +05:30
uno1982
e2e1c89723
Android: Add haptic feedback on long-press right-click in the editor
Trigger haptic feedback when a long-press gesture fires a right-click
(context menu) in the Android editor. Uses Android's native
`HapticFeedbackConstants.LONG_PRESS` on the render view surface.

An editor setting `interface/touchscreen/haptic_on_long_press` is added
under the existing touchscreen section to allow users to disable this
behavior. The setting defaults to enabled on native touchscreen devices.
2026-03-14 11:32:07 +01:00
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