I use the portrait mode in my app and rotate and adapt the content manually within a orientationChange listener. That works great, but there is a big issue. If I try to get the current orientation on startup with system.orientation, i get always “portrait” as the return value, whatever orientation the device currently has.
How can I get the correct orientation immediately after startup?
Thanks!