Updating to iOS 12.3 from 11.4 disabled the deviceorientation
event callback, due to fingerprinting attack vulnerabilities.
This was resolved by enabling a
secure browsing context
(https://), and by toggling the associated app sensor setting
if using iOS Safari. There are no reportable errors if these steps are
missed.
Whether the secure context actually protects you from
attack
may depend on how thoroughly the W3C
security standard has been implemented.
Permission API
Updating to iOS 13.x disabled the deviceorientation
event callback once again, due to renewed security concerns.
Device sensors now
require on-page button activation.
Update: 11/4/2021
Windows/Android are updating standards policy, breaking code.