-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hybrid app support for recent Godot Android library changes #264
Conversation
c54837b
to
932e3fb
Compare
Unfortunately, this isn't working. I'll keep debugging and take it out of DRAFT once it works |
@dsnopek I'll push a fix on the Godot side to address the issue. |
override fun getCommandLine(): MutableList<String> { | ||
@CallSuper | ||
protected override fun updateCommandLineParams(args: Array<String>) { | ||
// Force XR to be turned off. | ||
return mutableListOf("--xr_mode_regular", "--xr-mode", "off") | ||
val args = args + arrayOf("--xr_mode_regular", "--xr-mode", "off") | ||
super.updateCommandLineParams(args); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to revert this once godotengine/godot#102669 is submitted.
932e3fb
to
d8ad40a
Compare
The latest version of this PR is actually working for me with Godot 4.4-beta3! |
d8ad40a
to
b6d5fca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock work on the repo until the fix in Godot 4.4 beta 4 is propagated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just to double check, the change to isNativeXRDevice
and updateCommandLineParams
, doesn't that also impact the other implementations? (as in needing a name change/parameter added)
|
We're currently failing CI due to recent changes to Godot Android library, that affect our hybrid app support.
This PR is attempting to fix that!
This now compiles, however, I still have to test it, so keeping as a DRAFT for now