Commit Graph

1867 Commits

Author SHA1 Message Date
jonnymind
110ce9ef1b Fix android plugin prefix compatibility regression
(cherry picked from commit 2244c651c9)
2025-07-27 02:17:08 -04:00
Spartan322
b6544c8e50 Merge commit godotengine/godot@f2ee8d40a6 2025-05-29 02:09:34 -04:00
Fredia Huya-Kouadio
9622b4b681 Update the zipalign implementation to properly align APKs with uncompressed .so libraries 2025-05-12 15:54:50 -07:00
Spartan322
b5e34ce34e Merge commit godotengine/godot@4d7c448a0a 2025-04-19 04:51:06 -04:00
Anish Mishra
6ef29a0e55 Convert compress_native_libraries to a basic export option
(cherry picked from commit f3155412af)
2025-03-18 14:06:16 +01:00
David Snopek
9f30ad69e3 JavaClassWrapper: Fix mistake in last fix for org.godotengine.godot.Dictionary conversion
(cherry picked from commit 2091899d55)
2025-03-18 14:06:15 +01:00
shahriarlabib000
e9ff9e9644 update logo/run icon path in README
(cherry picked from commit 25a8b808d3)
2025-03-12 14:59:04 +01:00
Fredia Huya-Kouadio
bdf4f38ac4 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

(cherry picked from commit bea6472ea4)
2025-03-12 14:59:02 +01:00
Rémi Verschelde
69faae9b36 Android: Fix build with disable_3d
Fixes #103516.

(cherry picked from commit a7dd4ad5f8)
2025-03-12 14:59:02 +01:00
Alex
0461469113 Fix crash after changing device language
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.

(cherry picked from commit 1c02316365)
2025-03-12 14:59:02 +01:00
Matias N. Goldberg
2bf9dc71da Update to latest version of Swappy
Fixes #103294

(cherry picked from commit 89ea5b3d00)
2025-03-12 14:59:02 +01:00
David Snopek
b734db834a JavaClassWrapper: Fix conversion to/from org.godotengine.godot.Dictionary that regressed
(cherry picked from commit f52b2e4db4)
2025-03-12 14:59:02 +01:00
David Snopek
9abd46f1d1 JavaClassWrapper: Fix converting returned arrays to Godot types
(cherry picked from commit bbc66056a8)
2025-03-12 14:59:02 +01:00
David Snopek
ab700d0e18 JavaClassWrapper: Improve handling of typed array arguments
(cherry picked from commit d7672128b5)
2025-03-12 14:59:02 +01:00
Spartan322
a68eb8a076 Merge commit godotengine/godot@4c311cbee6 2025-03-04 03:35:45 -05:00
Fredia Huya-Kouadio
7fb37a088b Add checks to prevent crashes when accessing the GameMenu api
This should address crashes reported on the Play store. Note that those crashes lack debug symbols which reduces our ability to narrow down the exact cause of the crash. We aim to resolve that in Godot 4.5.
2025-02-27 13:20:23 -08:00
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
Rémi Verschelde
545ca2538e Merge pull request #103122 from syntaxerror247/fix-crash
Android: Fix excessive `getRotation` calls
2025-02-23 12:13:02 +01:00
Spartan322
70b41e3288 Merge commit godotengine/godot@394508d26d 2025-02-22 02:02:27 -05:00
Anish Mishra
ee4e809d4c Android: Fix excessive getRotation calls 2025-02-21 20:32:54 +05:30
Anish Mishra
129ffce06a Android Editor: Fix expand button black bar issue 2025-02-21 13:00:49 +05:30
David Snopek
5d69d20059 JavaClassWrapper: Allow handling exceptions (rather than just crashing) 2025-02-14 09:45:14 -06:00
Rémi Verschelde
3787cc4901 Merge pull request #102802 from syntaxerror247/fix_orientation_handling
Android Editor: Fix embed mode orientation handling
2025-02-13 23:35:12 +01:00
Anish Mishra
4a22e007f6 Android Editor: Fix embed mode orientation handling 2025-02-13 22:22:50 +05:30
Fredia Huya-Kouadio
8ed8b4a89d Bump the version of the openxr vendors plugin dependency 2025-02-12 09:51:07 -08:00
Spartan322
e2d0cc2ded Merge commit godotengine/godot@ad9abe841d 2025-02-11 21:06:34 -05:00
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
Thaddeus Crews
c90fd7f3da Merge pull request #98066 from TCROC/fix-android-mono-export
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 -06:00
Thaddeus Crews
0b9fd7e190 Merge pull request #102627 from raulsntos/dotnet/android-export-validate-tfm
C#: Validate project TFM for Android template exports
2025-02-10 12:21:30 -06:00
Raul Santos
70ff213de5 C#: Validate project TFM for Android template exports
The C# Android export template includes `.jar` dependencies from .NET 8.0, so other TFMs are not supported.
2025-02-10 17:19:05 +01:00
Travis Lange
5e2fd7b1d7 fix android mono export causing conflicts 2025-02-10 10:09:52 -05:00
Rémi Verschelde
eb4538b8a2 Merge pull request #102590 from syntaxerror247/custom-snackbar
Android: Add Snackbar UI component
2025-02-10 10:49:38 +01:00
Anish Mishra
b89957efce Android: Add Snackbar UI component 2025-02-08 22:09:46 +05:30
David Snopek
96bde8f221 JavaClassWrapper: Give additional error when trying to call non-static method directly on the class 2025-02-06 12:45:29 -06:00
Fredia Huya-Kouadio
9e4365f1a7 Export the rendering/renderer/rendering_method.mobile project setting to the AndroidManifest
The AndroidManifest already stores the Godot editor and library versions. The addition of this meta-data allows to identify Godot Android apps that may be subject to renderer specific issues addressed in future versions of the engine.
2025-02-04 21:11:56 -08:00
Spartan322
35e289fa5e Merge commit godotengine/godot@0b6a717ac1 2025-02-04 11:38:32 -05:00
Pāvels Nadtočajevs
b3f7c8f5d3 [Export] Respect icon/splash screen import settings. 2025-01-31 07:45:16 +02:00
Thaddeus Crews
3c80c14092 Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
Adam Scott
47f553ae0b Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Thaddeus Crews
b238fe25e1 Merge pull request #101996 from syntaxerror247/fix-swipe-to-dismiss
Android: Keep swipe-to-dismiss disabled by default
2025-01-28 09:03:30 -06:00
Anish Mishra
6df21a8fdc Android: Keep swipe-to-dismiss disabled by default 2025-01-27 23:45:58 +05:30
Thaddeus Crews
c019f3d4a5 Merge pull request #102049 from timothyqiu/editor-i18n
Fix several i18n issues in editor
2025-01-27 09:46:15 -06:00
Haoyu Qiu
4c4f29a490 Fix several i18n issues in editor 2025-01-26 16:41:10 +08:00
Rémi Verschelde
90208f7dd4 SCons: Fix handling of platform-specific tools, notably mingw
Add optional `detect.py` `get_tools` method to let platforms register SCons
tools they need.

This helps move this logic out of SConstruct, keeping platforms more self
contained, and helping thirdparty platforms define their own custom tools.

This logic was also unreliable (the `use_mingw` one would only work if
passed manually on the command line, not in e.g. `get_flags`).

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-01-25 13:59:30 +01:00
Spartan322
e0ff42e2e7 Merge commit godotengine/godot@b15b24b087 2025-01-24 12:10:41 -05:00
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
Spartan322
94949a2769 Merge commit godotengine/godot@a7146ef807 2025-01-21 17:08:38 -05: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