1
0
Fork 0
Commit Graph

2090 Commits

Author SHA1 Message Date
Thaddeus Crews fa1c53bb8e
Merge pull request #111204 from syntaxerror247/suspend-btn
Android Editor: Update suspend button icon in GameMenuBar
2025-10-06 09:06:46 -05:00
Lukas Tenbrink 9d44b68867 Remove `rw_lock.h` and `rb_map.h` includes from `object.h`. 2025-10-05 23:29:04 +02:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Anish Mishra 4b519317cd Android Editor: Update suspend button icon in GameMenuBar 2025-10-03 15:59:37 +05:30
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews 5240f1c283
Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
Thaddeus Crews 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
Thaddeus Crews f6fc2f4a08
Core: Remove `skip_cr` argument from `String` 2025-09-28 10:07:24 -05:00
Thaddeus Crews 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
Thaddeus Crews 3a16864c33
Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
ydeltastar 6a3d37ef1c
Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Fredia Huya-Kouadio 35fda7f857 Fix JNI local reference table overflow when wrapping Java class with large method counts 2025-09-23 12:23:26 -04:00
lumiscosity 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
lumiscosity 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
Fredia Huya-Kouadio 0622cee189 Implement `has_java_method(...)` for `JavaClassWrapper` and `JNISingleton` 2025-09-22 00:01:50 -04:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews 78d1539709
Merge pull request #110452 from limbonaut/prevent-jni-variant-conv-stack-overflow
Prevent JNI Variant conversion stack overflow
2025-09-19 09:17:05 -05:00
Thaddeus Crews f84123d20e
Merge pull request #110611 from m4gr3d/fix_show_keyboard_crash
Fix the bug causing `java.lang.StringIndexOutOfBoundsException` crashes when showing the virtual keyboard
2025-09-18 21:02:33 -05:00
Thaddeus Crews 2ee5a18917
Merge pull request #110465 from m4gr3d/add_quest3s_supported_device
Add `quest3s` to the list of supported devices
2025-09-17 11:34:08 -05:00
Fredia Huya-Kouadio ff3eee7df6 Fix the bug causing `java.lang.StringIndexOutOfBoundsException` crashes when showing the virtual keyboard 2025-09-16 23:03:18 -07:00
Thaddeus Crews 155c594f02
Merge pull request #109568 from syntaxerror247/export-keystore-check
Android: Only validate keystore relevant to current export mode
2025-09-16 11:44:43 -05:00
Serhii Snitsaruk 476b901247
Prevent JNI Variant conversion stack overflow 2025-09-14 12:51:59 +02:00
Clay John bfa330dd5d
Merge pull request #110463 from kojurohan42/build-id-append-for-crashlytics
added build id link flag for firebase crashlytics support for android
2025-09-12 16:17:09 -04:00
Fredia Huya-Kouadio 35c87ae0ca Add `quest3s` to the list of supported devices 2025-09-12 11:38:02 -07:00
kojurohan42 b1ed9ffca7 added build id link flag for firebase crashlytics support 2025-09-12 23:31:16 +05:45
Lukas Tenbrink 4c0026b053 Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 01:04:14 +02:00
Anish Mishra 775dfc5114 Fix status bar visibility issue after keyboard hides on Android 2025-09-11 07:08:32 +05:30
Thaddeus Crews 4ed8c45abd
Merge pull request #110263 from raulsntos/dotnet/android-net9.0
[.NET] Require `net9.0` for Android exports
2025-09-05 08:37:22 -05:00
Raul Santos f0c9253bec
[.NET] Require `net9.0` for Android exports
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).

The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.

Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-05 04:14:27 +02:00
Fredia Huya-Kouadio d255ec2fe1 Fix the issue preventing installing C# binaries on Android devices with api <= 29 2025-09-04 11:49:22 -07:00
Aayush Sarikhada 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
Anish Mishra 3bc1fa0c37 Fix safe area regression on older Android versions 2025-08-27 21:14:48 +05:30
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Anish Mishra 1763b43dca
Android: Fix build command in standard AAB export 2025-08-14 17:13:21 +05:30
Thaddeus Crews 90ba13bd0b
Merge pull request #109528 from syntaxerror247/drive-selection-issue
Fix drive selection issue on Android
2025-08-13 18:42:13 -05:00
Anish Mishra 097ccbc5cd Android: Only validate keystore relevant to current export mode
- Debug builds skip release keystore validation.
- Release builds skip debug keystore validation.
2025-08-13 13:35:50 +05:30
Thaddeus Crews 29ff6c3469
Merge pull request #107681 from m4gr3d/revert_remove_compress_native_lib_option
Revert the removal of the `gradle_build/compress_native_libraries` export option
2025-08-12 11:46:33 -05:00
Fredia Huya-Kouadio 74eba7a770 Revert the removal of the `gradle_build/compress_native_libraries` export option 2025-08-11 19:01:11 -07:00
Anish Mishra 0ad232423d Android: Add method to set root window color at runtime 2025-08-11 22:25:53 +05:30
Anish Mishra 5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30
h1v9 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
Thaddeus Crews 4b23f09e2f
Merge pull request #109267 from syntaxerror247/misc
Android: Misc changes
2025-08-03 10:51:15 -05:00
Thaddeus Crews a6e6d133ab
Merge pull request #109227 from limbonaut/harden-jni-find-class
Harden jni_find_class() and its setup/cleanup
2025-08-03 10:51:09 -05:00
Thaddeus Crews a0c7127829
Merge pull request #109162 from bruvzg/android_tts
Fix Android TTS on-demand init.
2025-08-03 10:51:08 -05:00
Anish Mishra ae678b4085 Android: Misc changes 2025-08-03 13:09:10 +05:30
Serhii Snitsaruk 4749ce1637
Harden jni_find_class() and its setup/cleanup 2025-08-02 09:52:08 +02:00
Serhii Snitsaruk fa36abeacc
Fix FindClass() failing to find Dictionary on Android leading to crash 2025-08-01 17:46:58 +02:00
Pāvels Nadtočajevs 4915d61362
Fix Android TTS on-demand init. 2025-07-31 17:11:12 +03:00
Thaddeus Crews ec8e6aeb82
Merge pull request #108557 from syntaxerror247/Fix-system-bar-regression
Android: Fix system bar regression
2025-07-30 09:03:37 -05:00
Anish Mishra 0506299c21 Android: Add option to change background color and fix system bar regression 2025-07-29 09:27:16 +05:30
Fredia Huya-Kouadio 291b89686d Update the OpenXR Vendors plugin for the XR editor to the latest stable version 2025-07-24 18:32:26 -07:00
Thaddeus Crews e0603aeda3
Merge pull request #108796 from syntaxerror247/get-clipboard-crash
Android: Run clipboard tasks on UI thread
2025-07-23 13:27:12 -05:00
Thaddeus Crews 8d04657ec8
Merge pull request #108692 from m4gr3d/fix_debugger_immediate_disconnect
Fix debugger immediate disconnect
2025-07-22 11:20:08 -05:00
Anish Mishra 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
Fredia Huya-Kouadio d47e3fd3bf Misc XR editor updates:
- Bump the OpenXR Vendors plugin version to `4.1.0-stable`
- Include `quest2` in the supported devices manifest config
2025-07-21 11:17:48 -07:00
Fredia Huya-Kouadio f713a20c94 Fix debugger immediate disconnect
Address https://github.com/godotengine/godot/issues/108518
2025-07-18 15:12:37 -07:00
Thaddeus Crews 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
Fredia Huya-Kouadio 2509b2f457 Add a debug version for Godot's maven central artifact 2025-07-17 17:17:40 -07:00
Anish Mishra d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
Thaddeus Crews 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
Pāvels Nadtočajevs f20e5152ad
[EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
Thaddeus Crews 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
Anish Mishra 836b762e23 Fix Android splash theme regression 2025-07-09 23:33:21 +05:30
Fredia Huya-Kouadio 3a36726feb Update the maven publishing configuration following the deprecation of the OSSHR service
https://central.sonatype.org/news/20250326_ossrh_sunset/
2025-07-07 15:57:04 -07:00
Fredia Huya-Kouadio 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
Fredia Huya-Kouadio 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
Fredia Huya-Kouadio c376348b16 Fix the build logic to generate the native debug symbols 2025-07-05 10:38:22 -07:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews eb2625cf57
Merge pull request #108243 from m4gr3d/fix_android_plugin_init
Android: Fix Android plugins regression
2025-07-04 10:09:06 -05:00
Fredia Huya-Kouadio 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
Anish Mishra 4f695e1713 Android: Don't exclude display cutout in immersive mode 2025-07-03 08:07:08 +05:30
Anish Mishra 1338e29bf5 Android: Fix `DisplayServer.get_display_safe_area()` issues 2025-06-29 13:11:03 +05:30
Thaddeus Crews 72ab203c79
Merge pull request #108019 from limbonaut/fix-jni-generic-array-conversion
Add missing JNI variant conversion for generic Array
2025-06-27 09:39:56 -05:00
Anish Mishra c82f7feb53 Document that `native file dialog` is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
Serhii Snitsaruk 1bea370df7
Add JNI variant conversion for generic Array 2025-06-26 19:16:52 +02:00
Pāvels Nadtočajevs 42733a2a5c
Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
Rémi Verschelde 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
Fredia Huya-Kouadio 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
Thaddeus Crews f7c6f0057c
Merge pull request #103972 from m4gr3d/xr_editor_hybrid_support
Add support for running hybrid apps from the XR editor
2025-06-20 08:38:55 -05:00
Fredia Huya-Kouadio 09f5be761c Add support for running hybrid apps from the XR editor 2025-06-15 07:05:12 -07:00
Anish Mishra dcab8a721e Revert "Add support for exporting to Google Play Instant"
This reverts commit 12ad9ed4e0.

Shortly after the feature was merged, we received news that Google will shut down Instant Apps in December 2025. Since this feature is being discontinued soon, there’s no value in keeping it for just a few months.
2025-06-14 15:51:08 +05:30
Fredia Huya-Kouadio 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
Rémi Verschelde ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
Rémi Verschelde 4adef85151
Merge pull request #106447 from kojurohan42/instant-build
Add support for exporting to Google Play Instant via Google Play Instant Export Option
2025-06-12 23:32:38 +02:00
Alexander Hartmann a1e12dca3f Fix `Input.vibrate_handheld` on Android. 2025-06-12 12:38:18 +02:00
Rémi Verschelde 6e5bcd2f41
Merge pull request #107207 from syntaxerror247/filePicker-save
Android: Fix save issue when using native file dialog
2025-06-10 12:30:21 +02:00
Adam Scott 026ba0dbbc
Fix Android build files joining paths without join 2025-06-09 10:37:54 -04:00
Rémi Verschelde a663949a7d
Merge pull request #107215 from syntaxerror247/fix-warning
Show shader baker related export warnings only if enabled
2025-06-07 00:44:06 +02:00
Anish Mishra 8bf87a6b2c Show shader baker related export warnings only if enabled 2025-06-06 21:05:39 +05:30
Anish Mishra a28697f2fe Android: Fix save issue when using native file dialog
Fixes the issue where saving a file without `MANAGE_EXTERNAL_STORAGE` permission using the `native file dialog` to get the file path causes the `ERR_FILE_NOT_FOUND` error.
2025-06-06 16:07:41 +05:30
Fredia Huya-Kouadio a0cb64569b Fix the `CAMERA` permission request on HorizonOS devices 2025-06-05 14:56:07 -07:00
Fredia Huya-Kouadio 547450befd Fix transparency background issue on Android
Fixes https://github.com/godotengine/godot/issues/106703
2025-06-02 22:45:16 -07:00
Thaddeus Crews 9ee7d78274
Merge pull request #106859 from syntaxerror247/alias
Add support for `OS.get_version_alias()` on Android
2025-06-02 18:51:56 -05:00
Thaddeus Crews 1c0669bd23
Merge pull request #106970 from m4gr3d/update_documentation_javaclasswrapper_androidruntimeplugin
Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
2025-06-02 18:51:50 -05:00
Pāvels Nadtočajevs 2d93e004b9
Cleanup and unify `DisplayServer` screen methods and documentation. 2025-06-02 08:03:48 +03:00
Fredia Huya-Kouadio 658d3736f4 Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
Follow-up to https://github.com/godotengine/godot-docs/pull/10979
2025-05-30 09:39:53 -07:00
Anish Mishra 458850b2d9 Add support for `OS.get_version_alias()` on Android 2025-05-30 19:57:15 +05:30
Thaddeus Crews de37627404
Merge pull request #102552 from DarioSamo/shader-baker
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
David Snopek cc7f2e5160 JavaClassWrapper: Don't discard overloaded methods that differ by object type 2025-05-28 14:19:26 -05:00