Using the Gyroscope?

Hello, slackmoehrle
I want to make a game that used Gyroscope() in cocos creator.
I tried.

let sensor = new Gyroscope();
sensor.start();
sensor.onreading = () => {
console.log("Angular velocity around the X-axis " + sensor.x);
console.log("Angular velocity around the Y-axis " + sensor.y);
console.log("Angular velocity around the Z-axis " + sensor.z);
};

sensor.onerror = event => console.log(event.error.name, event.error.message);
But I can’t anything.
Could you help me?
Please help me about that.
Thanks