question

yoonefitech avatar image
yoonefitech asked Jeffrey Blattman edited

2018 Clover Station upside down orientation

We have built an app that has multiple activities. For each activity we have specifically mentioned the orientation in the Manifest file to be either landscape and portrait as shown below. When the screen is rotated towards merchant side and customer side the activity changes correctly to landscape and portrait as defined for that activity.

android:screenOrientation="landscape"
or
android:screenOrientation="portrait"

This works fine in the Clover Station that we have that is 2016 version. But in the 2018 Clover station we are seeing the behavior of when the screen is turned towards the customer the screen becomes upside down Can anyone help us understand why this behavior is happening in 2018 station and not in older station and what resolution we need to add to the code to get this resolved. Appreciate all your help.
Clover Station
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered Jeffrey Blattman edited
Seems like a bug to me. If you pick a regular Android phone, the top in portrait mode will be what was the left in landscape mode. That's how Station 2018 works too, but agreed that's not right considering how it swivels.

To work around it you can use reverse portrait.

EDIT: Noticed that sensor orientation (4) works as expected. It may be simpler for you to just user sensor. Not clear to me when or why you'd want to show a screen in an orientation that wasn't sensor.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community