Posts

Post not yet marked as solved
0 Replies
309 Views
Hi, I'm trying to add background observers for the heartrate variables from the health kit which will be used to trigger certain functions ect... However, when I set up my observers whether they be by using the npm package or the instance method discussed by apple - the observers only seem to work when the app is in an active state. I have read threats that say sometimes it just takes a while for the data to be pushed through but I've tested the waters and waited the time and still the observers don't seem to work in a terminated or suspended state. Any thoughts? As well - if it does come down to a frequency matter is there a way to rush the detection of it? As the app being able to receive and act upon the heartrate variable changes is a key feature to my app. If possible - Objective C would be very much preferred. Thanks in advance
Posted
by Nickyii.
Last updated
.