Unfortunately recently I have been able to register handlers for events on the window object for deviceorientation
and devicemotion
. However, I am now completely unable to get iOS 9.3 Chrome or Safari to access orientiation or motion information.
I have tried using TLS in case it was a security issue, and I have tried running the generic demo at https://github.com/dorukeker/gyronorm.js/tree/master/demo and https://www.audero.it/demo/device-orientation-api-demo.html.
All of those demos work fine with Chrome on Android.
Has something changed recently in iOS that has caused these events to no longer be available? I have not been able find any info on a change other than a mention of tightening up security to require TLS.