Commit Graph

442 Commits

Author SHA1 Message Date
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
acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
cf0d2d724e Merge pull request #112585 from syntaxerror247/fix-ui-issue
Android: Fix root window shrinking when keyboard appears
2025-11-13 20:52:13 -06:00
2ed51e00a1 Make use of activity-alias as the launcher mechanism for the Godot editor and the Godot app template 2025-11-13 10:17:43 -08:00
941aff3c06 Android: Fix root window shrinks when keyboard shows 2025-11-09 20:07:43 +05:30
84365402f8 Android: Fixed assets:// access i.e. fixed .pck from assets:// 2025-11-07 23:42:22 +11:00
281c74550a Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
5277c94fe4 Update the source sets configuration for the app and lib modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
4483871cd3 Android: Stabilize camera lifecycle handling
- Pause camera feeds during lifecycle transitions to avoid crashes
- Refresh camera metadata after rotation to keep orientation accurate
2025-10-23 01:32:16 +09:00
70f07467be Merge pull request #110127 from AayushSarikhada/android-back-gesture-fail-fix
Fix Android back gesture failing after keyboard dismissal
2025-10-21 19:09:27 -05:00
58a64124e8 Merge pull request #111135 from m4gr3d/add_emit_signal_overload
[Android] Minor updates to the `GodotPlugin` APIs
2025-10-21 15:10:55 -05:00
4501f0f0fe Android Editor: Add game speed control options in game menu bar 2025-10-20 10:23:03 +05:30
b9c3b1d4c0 Misc improvements to the GodotPlugin API
- Add overload method for `GodotPlugin#emitSignal(...)`
- Allow passing `null` values as signal arguments
2025-10-11 23:16:31 -07:00
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
ef4863ab97 Merge pull request #109764 from ydeltastar/android-fragment-fix
Android: Ensure proper cleanup of the fragment
2025-09-28 10:07:48 -05:00
9283328fe7 Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
3a16864c33 Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
6a3d37ef1c Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
72a9d2128f Replace Android icons with lossless WebP files
See https://developer.android.com/develop/ui/views/graphics/reduce-image-sizes#webp. From a precursory glance the minimum API level for Godot is 24, which should support this.
2025-09-22 20:33:16 +02:00
91befbbc52 Optimize PNG assets
Losslessly optimizes the PNG assets with oxipng, defluff and DeflOpt.

Tests and third party imports are omitted.
2025-09-22 20:33:16 +02:00
0622cee189 Implement has_java_method(...) for JavaClassWrapper and JNISingleton 2025-09-22 00:01:50 -04:00
ff3eee7df6 Fix the bug causing java.lang.StringIndexOutOfBoundsException crashes when showing the virtual keyboard 2025-09-16 23:03:18 -07:00
775dfc5114 Fix status bar visibility issue after keyboard hides on Android 2025-09-11 07:08:32 +05:30
849107cfc8 Fix Android back gesture failing after keyboard dismissal (#109806)
Reason of bug: This happened because the text input field was still receiving the first back gesture event instead of letting it reach the main app.
2025-08-31 01:07:35 +05:30
3bc1fa0c37 Fix safe area regression on older Android versions 2025-08-27 21:14:48 +05:30
0ad232423d Android: Add method to set root window color at runtime 2025-08-11 22:25:53 +05:30
5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30
b787b0dbb5 Thread Syncronization for FileAccessHandler and DirectoryAccessHandler
- Switching to ReentrantLock
- Thread locking for DirectoryAccessHandler (dependencies)

Newline @ EOF

Forgot import

Revert

Better locking

Forgot return

Restore last empty line
2025-08-07 13:08:53 -05:00
4915d61362 Fix Android TTS on-demand init. 2025-07-31 17:11:12 +03:00
ec8e6aeb82 Merge pull request #108557 from syntaxerror247/Fix-system-bar-regression
Android: Fix system bar regression
2025-07-30 09:03:37 -05:00
0506299c21 Android: Add option to change background color and fix system bar regression 2025-07-29 09:27:16 +05:30
291b89686d Update the OpenXR Vendors plugin for the XR editor to the latest stable version 2025-07-24 18:32:26 -07:00
67b45299c7 Android: Run clipboard tasks on UI thread
Fixes crashes on older Android versions (API level <= 27) by ensuring
that all clipboard operations are executed on the UI thread.
2025-07-22 20:58:22 +05:30
71a9948157 Merge pull request #108287 from syntaxerror247/fix-virtual-keyboard-height
Fix immersive mode and virtual keyboard height issue on Android
2025-07-18 11:05:19 -05:00
2509b2f457 Add a debug version for Godot's maven central artifact 2025-07-17 17:17:40 -07:00
d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
64c58c225a Merge pull request #107473 from m4gr3d/address_transparency_feedback
Address remaining feedback on Android background transparency
2025-07-16 11:27:54 -05:00
fb26c2603b Merge pull request #108329 from m4gr3d/fix_android_eof_detection
Android: Fix the EOF detection logic
2025-07-10 11:39:25 -05:00
3ade4b4b63 Address remaining feedback on https://github.com/godotengine/godot/pull/106709
Address https://github.com/godotengine/godot/pull/106709#discussion_r2114489487
2025-07-07 12:11:21 -07:00
2cfe31f9a1 Fix the EOF detection logic on Android
The current logic was causing loading to omit the last character because the EOF flag was triggered too early.
2025-07-06 01:09:33 -07:00
c376348b16 Fix the build logic to generate the native debug symbols 2025-07-05 10:38:22 -07:00
eb2625cf57 Merge pull request #108243 from m4gr3d/fix_android_plugin_init
Android: Fix Android plugins regression
2025-07-04 10:09:06 -05:00
bbf22a39c1 Assign the primaryHost prior to initializing the registered Android plugins.
Address a regression introduced in https://github.com/godotengine/godot/pull/102866.
The proper behavior for Android plugins is to use `getContext` instead of `getActivity`, but since not all plugins follow this pattern, this fix provides backward compat to avoid breaking the plugins that don't.
2025-07-03 09:43:24 -07:00
4f695e1713 Android: Don't exclude display cutout in immersive mode 2025-07-03 08:07:08 +05:30
1338e29bf5 Android: Fix DisplayServer.get_display_safe_area() issues 2025-06-29 13:11:03 +05:30
260190c057 Merge pull request #107742 from m4gr3d/address_api_35_ui_issues
Android: Address API 35 UI behavior changes
2025-06-22 11:59:12 +02:00
2f4c3d411c Address API 35 UI behavior changes
- Fix issue on foldable where the embedded window would obscure the main window when launching
- Fix edge-to-edge support for non-immersive apps / games
- Add edge-to-edge export option to allow non-immersive apps / games to extend edge to edge
2025-06-20 13:29:38 -07:00
09f5be761c Add support for running hybrid apps from the XR editor 2025-06-15 07:05:12 -07:00
dc589e239c Add support for using an Android Service to host the Godot engine
- Provide a `GodotService` Android service implementation which can be used to host an instance of the Godot engine
- Provide a `RemoteGodotFragment` Android fragment implementation which provides the view and logic to wrap connection to a `GodotService` instance
2025-06-12 16:37:38 -07:00