Skip to content
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

[Vision Glass] Back button when VR is not active #1447

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

felipeerias
Copy link
Collaborator

Fix the issue that the Back button on the phone is not responsive before we have entered VR mode.

The fix is to add a method onBackPressed() to PlatformActivityPlugin which returns true if the platform activity has handled the Back press.

In the Vision Glass implementation, we use the default Back behaviour if the user presses that button before we have started VR mode.

Fix the issue that the Back button on the phone is not responsive
before we have entered VR mode.

The fix is to add a method onBackPressed() to PlatformActivityPlugin
which returns true if the platform activity has handled the Back press.

In the Vision Glass implementation, we use the default Back behaviour
if the user presses that button before we have started VR mode.
@svillar svillar merged commit 2d74fe9 into main Jun 13, 2024
22 checks passed
@svillar svillar deleted the felipeerias/vg-back-button branch June 13, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants