Joseph Hawkes-Cates
10/12/2022, 9:22 PMandroid:configChanges
property set in our Activity in our AndroidManifest and one of the values we have in there is orientation. We also utilize LocalConfiguration.current.orientation
to check the orientation in some places and act accordingly. This works on all of the devices we’ve tested except this Galaxy Tab s6 Lite. For some reason we are always getting ORIENTATION_LANDSCAPE as the value on the current config on that device, unless we remove “orientation” from the conifgChanges list in the manifest. Has anyone seen this before or aware of another option to work around this issue?Alex Vanyo
10/13/2022, 9:14 PMLocalConfiguration.current
might also be usefulJoseph Hawkes-Cates
10/13/2022, 9:17 PMJoseph Hawkes-Cates
10/13/2022, 9:21 PMJoseph Hawkes-Cates
10/13/2022, 9:21 PMAlex Vanyo
10/13/2022, 9:26 PMLocalConfiguration.current.screenWidthDp
and LocalConfiguration.current.screenHeightDp
and how those relate to LocalConfiguration.current.orientation
while changing. Having all three of those being output together should be useful for tracking down what’s going on!Joseph Hawkes-Cates
10/14/2022, 2:44 PM