1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Commit Graph

401 Commits

Author SHA1 Message Date
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
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
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
Fredia Huya-Kouadio
09f5be761c Add support for running hybrid apps from the XR editor 2025-06-15 07:05:12 -07:00
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
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
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
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
Thaddeus Crews
5620a215a1 Merge pull request #106021 from Alex2782/fix_xbox_controller_on_android
Fix Xbox Controller on Android
2025-05-16 07:43:09 -05: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
Rémi Verschelde
c1d3746a67 Merge pull request #105992 from uno1982/4.5-dev-fix-android-controller
Fix issues with Android controller input handling
2025-05-13 01:04:52 +02: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
Alexander Hartmann
cf00265386 Fix Xbox Controller on Android 2025-05-03 01:09:05 +02:00
uno1982
5ce11b1eac Fix for ps4 and ps5 controller options and share buttons 2025-05-01 11:30:02 -05:00
Thaddeus Crews
485406b5e0 Merge pull request #104819 from m4gr3d/setup_godot_tools_lib_maven_central
Add maven publishing configuration for Godot tools
2025-04-16 10:45:14 -05:00
Thaddeus Crews
9906016959 Merge pull request #105301 from syntaxerror247/fix-decimal-keyboard
Android: Fix decimal keyboard
2025-04-15 12:28:46 -05:00
Anish Mishra
8f0a642f6c Android: Fix Decimal keyboard 2025-04-15 08:09:37 +05:30
Thaddeus Crews
4972a524fc Merge pull request #96139 from Alex2782/reverting_pr_84331
Add configuration option to disable `Scroll Deadzone` on Android
2025-04-11 09:51:08 -05:00
Alex
cd68034e01 Add configuration option to disable Scroll Deadzone on Android 2025-04-07 22:15:31 +02:00
Anish Mishra
b462db5adb Android: Hardware keyboard connection status callback
Adds a DisplayServer method to register hardware keyboard connection change callback.
2025-04-05 08:14:29 +05:30
Fredia Huya-Kouadio
19700dacdf Add maven publishing configuration for Godot tools
The Godot Android library on MavenCentral is a `template` build; this updated configuration adds a new 'Godot Tools' publishing artifact, allowing developers access to the `editor` build of the Godot Android library.
2025-03-31 10:29:06 -07:00
Anish Mishra
afe68f672f Add support for "Mute Game" toggle in the Android Editor 2025-03-21 01:33:38 +05:30
Thaddeus Crews
e9e4760335 Merge pull request #83538 from bruvzg/size_and_at
[FileAccess] Implement `get_size` and `get_access_time` methods.
2025-03-11 14:00:58 -05: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
bruvzg
85d3be8070 [FileAccess] Implement get_size and get_access_time methods. 2025-03-09 16:07:00 +02:00
Fredia Huya-Kouadio
bea6472ea4 Fix Android mouse capture issues
- Allow mouse capture to be enabled in `_ready`
- Update the input handler logic to avoid dropping mouse captured motion events
2025-02-28 13:54:30 -08: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
28d1dccf63 Android: Fix export and runtime logic to check if using Vulkan
Also fix iOS export logic that would force a min target of iOS 14.0 (for Metal)
even when targeting the Compatibility renderer.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
Anish Mishra
ee4e809d4c Android: Fix excessive getRotation calls 2025-02-21 20:32:54 +05:30
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
Anish Mishra
b89957efce Android: Add Snackbar UI component 2025-02-08 22:09:46 +05:30
Thaddeus Crews
b0655dc86f Merge pull request #101050 from jamie-pate/fix_android_godot_app_create_instance
Fix create_instance in android GodotApp so non-editor apps can restart
2025-01-22 16:32:29 -06:00
Thaddeus Crews
24fb28af55 Merge pull request #101689 from syntaxerror247/native-dialogs
Make dialogs non-cancelable on Android
2025-01-20 10:05:43 -06: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
Anish Mishra
401310d74d Make dialogs non-cancelable on Android. 2025-01-17 19:45:34 +05:30
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
Rémi Verschelde
4d1cfc1784 Merge pull request #101061 from syntaxerror247/first-pr-2025
Android: Implement support for `native dialog`
2025-01-14 15:05:59 +01:00
Anish Mishra
cb9ee099ac Android: Implement support for native dialog
This adds support for DisplayServer::dialog_show() on Android, aligning it with the functionality already available on macOS and Windows.
2025-01-14 15:03:14 +05:30
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