W3C home > Mailing lists > Public > public-device-apis-log@w3.org > August 2018

Re: [sensors] Background support for sensors APIs

From: Rijubrata Bhaumik via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Aug 2018 08:07:29 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-410971432-1533629248-sysbot+gh@w3.org>
>From the Android P documentation [1],

> Limited access to sensors in background
Android 9 limits the ability for background apps to access user input and sensor data. If your app is running in the background on a device running Android 9, the system applies the following restrictions to your app:
Your app cannot access the microphone or camera.
Sensors that use the continuous reporting mode, such as accelerometers and gyroscopes, don't receive events.
Sensors that use the on-change or one-shot reporting modes don't receive events.

[1] https://developer.android.com/about/versions/pie/android-9.0-changes-all

GitHub Notification of comment by riju
Please view or discuss this issue at https://github.com/w3c/sensors/issues/73#issuecomment-410971432 using your GitHub account
Received on Tuesday, 7 August 2018 08:08:03 UTC

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