Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why light not suppport ios ? #1042

Open
385841539 opened this issue Sep 13, 2024 · 3 comments
Open

why light not suppport ios ? #1042

385841539 opened this issue Sep 13, 2024 · 3 comments
Labels
bugfix a bug fix

Comments

@385841539
Copy link

why light not suppport ios ?

@385841539 385841539 added the bugfix a bug fix label Sep 13, 2024
@iarata
Copy link
Contributor

iarata commented Oct 9, 2024

@385841539 I assume it is because SensorKit requires research app approval from Apple to read ambient sensors.
https://www.researchandcare.org/resources/accessing-sensorkit-data/

@pavan-josyula
Copy link

Does the Time in Sunlight Also come under this?

@iarata
Copy link
Contributor

iarata commented Oct 30, 2024

@pavan-josyula That falls under the ambient light sensor of the Apple Watch, and it records it in the health app which I suppose you could read from the health app, but to record the time in sunlight you would need an Apple Watch in the first place.

https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/4168154-timeindaylight

https://support.apple.com/en-gb/guide/watch-ultra/apd3ab22534c/watchos#:~:text=See%20your%20time%20in%20daylight,Tap%20Time%20in%20Daylight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix a bug fix
Projects
None yet
Development

No branches or pull requests

3 participants