Q: When Android app is in killed state or in Background can we get real time Data from wearble

MinisterialLouse2 months ago

When Android app or IOS app is in killed state or in Background can we get real time Data from wearble device and How frequently does Terra background delivery fire when app is killed or in backgroud

MinisterialLouse2 months ago

is there any service which run background in SDK?


terra

Chandruadmin2 months ago

Hey there

Yes indeed, we have our Terra iOS Background delivery service which, once setup, will periodically query and send data from Apple Health whilst your app is running in the background. Follow this setup guide which outlines how to implement iOS background delivery.

How frequently does Terra background delivery fire when app is killed or in background

How often background delivery fires is determined by iOS, and this frequency is affected by many factors, including how often the user interacts with your app and how many resources your app uses (power, memory etc). If the device is in low-power mode, background delivery will not execute. The user must also ensure that background sync is enabled for your app in their settings.

Android background delivery

Currently there is no background delivery for android devices - this is due to limitations imposed by android. However, you can call our SDK getter function when the app opens to retrieve the necessary health data when the user needs it