-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reenable rotation to and from landscape mode on Android #470
Conversation
I just installed the app-release.apk from https://app.circleci.com/pipelines/github/digitalfabrik/ehrenamtskarte/912/workflows/8920355f-b301-4e08-bc96-1f93d2031941/jobs/6414/artifacts, but I found the issue sitll persists. I can rotate the app again, but there is still an area (at the right side in my case) after rotating to landscape which is unresponsive. :/ |
hm I suspect that I only fixed it for debug mode :/ I'll test it again. |
@Schedulaar feel free to test again :) |
@maxammann I am sorry that I have to disappoint you, but it's still not working on my device :/ |
hm that it weid worked in release mode on my device |
Oke, weird the ci build is not working 🤔 |
I definitely have a release build which is working locally. But the CI build is not working |
@Schedulaar it seems only not to work if the intro slides are shown before that. Can you try to restart the app (latest build) and see whether the issue is still there? |
Yep, it does indeed work after an app restart. However, I have noticed that sometimes (like 1 out of 50 times) there's a black screen where the map should be... |
8edd4f9
to
558dd47
Compare
Hm that is weird, maybe the black screen is even unrelated. Last try is pushed. The change which I made is worth discussing. Maybe that is actually the better behavior for the app in general. |
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.
This seems (almost) perfect! Having the intro slides not above the main route is way better in my opinion. That way, if the location permissions are given in the intro slides, the app will start initialized properly after finishing the intro slides.
@Schedulaar I think my beauty if finished now. Maybe check one last time. The black screen was actually introduced in my commits. I fixed this now. |
@maxammann I'd review this tomorrow if you want :) |
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.
Again closer to perfect, but not yet exactly there: When I rotate to landscape (given I start the app in portrait mode), the info icon is again not shown (because the map's actual size is the huge square).
Accordingly, if the app is started in landscape mode and then rotated to portrait mode, the same thing happens.
@Schedulaar thanks for noticing! I get now the correct constrains within the map should be placed. |
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.
Buttery smooth now 😍
@klinzo feel free to test tomorrow :) then I'll merge this! |
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.
Tested on android, did not experience any unresponsiveness.
Co-authored-by: Steffen Kleinle <[email protected]>
fixes #419