W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2019

Re: [deviceorientation] Add API for requesting permission to receive device motion / orientation events (#57)

From: Michael Sunwoo \(AvatarLabs\) via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 May 2019 23:48:47 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-491459175-1557532126-sysbot+gh@w3.org>
Fun edge case...
**iPad Air (MD785LL/A) + iOS 11.4:**
  Does not emit either devicemotion or deviceorientation events if the tablet is laying flat on it's back (on a table or whatever).

**iPhone X + iOS 12.2 + "Motion and Orientation Access" on:**
  Laying on a table does emit both events.

I guuuesss we can add a some window.navigator.userAgent checks, but getting in to the "pretty janky checks" arena :\

GitHub Notification of comment by micsun-al
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-491459175 using your GitHub account
Received on Friday, 10 May 2019 23:48:48 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC