Hello.
I have the following code using capacitor:
Motion.addListener('orientation', (e: MotionOrientationEventResult) => {
console.log('Test')
})
However when I rotate my device it’s not writing “Test”, it doesn’t enter but it does enter the first time I call it.