Now i know that the device rotation-beta function exists, but no matter what i do it always = 0.
I just want to know if the device is parallel to the ground or not (0/90 degrees).
Think of the charades mobile app, i'm trying to emulate that trigger.
I have searched the forums and there's no documentation that indicates my problem.
Note: I've only used browser preview over lan so far (with device rotation on) so if that's an issue let me know please.