Gyroscope and absolute values

Hi,

I’m trying to get the orientation angle of the device using the Gyroscope plugin.

The Gyroscope plugin provides only acceleration values (i.e. the change in orientation in the last X ms) while I’m looking to get absolute values (e.g. something like what’s is used here).

In Android Native, there’s a function called onOrientationChanged that provides this data.

Is it possible in Ionic to access absolute values for the Gyroscope sensor?