Re:How to track and display profile views on GitHub
by oefrha on Thursday July 09, 2020 @12:17PM
(#23781801)
Not sure that sort of low level access is possible while the app is backgrounded. However, automatic sleep trackers have been available without official API since what, watchOS 2? So maybe.
You can also try to convince Apple to add that workout type. https://support.apple.com/en-us/HT207934
Look forward to WWDC 2021, introducing the favorite workout type of billions of people.