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

Android app should respect phone's orientation lock #27

Open
RemyRM opened this issue Jul 30, 2024 · 1 comment
Open

Android app should respect phone's orientation lock #27

RemyRM opened this issue Jul 30, 2024 · 1 comment

Comments

@RemyRM
Copy link

RemyRM commented Jul 30, 2024

The android app does not respect the phones orientation lock setting, causing it to rotate between landscape/portrait orientations despite having the phones orientation locked.
This causes inconvenience when placing the app on soft surfaces such as a boulder mat underneath a hangboard and walking around it. The depression of the soft surface makes the app change orientation.

@Stevie-Ray
Copy link
Owner

Hi @RemyRM, you're right—I’m seeing the same issue on my device. A simple workaround is to use the web-based version of HangTime. You can also install it as an app on your phone.

The issue might be related to this line in the code: https://github.com/Stevie-Ray/hangtime/blob/main/manifest.json#L45, which is also reflected here: https://github.com/Stevie-Ray/hangtime-android/blob/master/twa-manifest.json#L65. However, it seems odd that it doesn’t respect the phone's settings.

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

No branches or pull requests

2 participants