I have observer queries for certain hksample types which in turn run sample queries to obtain data. i want to fire notifications from the completion handler, for certain data thresholds (like steps taken) from these queries. is this the right approach, say for % step goals completed or should i consider background app refresh (background modes)?
Note: either way i will need the iphone to be unlocked as healthkit database cannot be queried when the phone is locked.