HealthKit Background execution

Hi All,

I have a strange issue. I am using enableBackgroundDelivery for updating user step count in background mode using health kit. It works fine when I execute the app by pressing 'Run' in xcode. But the code is not triggering when I am directly launching it on my device. I have tried many different things but cannot figure out the issue from 2 days 😭. I would really appreciate any suggestions.

Thanks

Accepted Reply

I figured out the issue. While updates from health data are immediate in sandbox, you receive updates at hourly rate in production.

Replies

I figured out the issue. While updates from health data are immediate in sandbox, you receive updates at hourly rate in production.