cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
550 stars 678 forks source link

why light not suppport ios ? #1042

Open 385841539 opened 2 months ago

385841539 commented 2 months ago

why light not suppport ios ?

iarata commented 1 month ago

@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 commented 4 weeks ago

Does the Time in Sunlight Also come under this?

iarata commented 3 weeks ago

@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.