[now - days_to_pull, now].
The configurable maximum through Team Data Pull Preferences is 365 days. For Apple HealthKit, the iOS SDK also supports configuring
numberOfDaysToBackFill up to 1,095 days when no team pull preference applies.Customizing historical data pull range
Org Management API is available for the Scale plan.
The Team Data Pull Preferences you specified are advisory. There are scenarios in which Junction systems
may not adhere strictly to your stated preferences.
Apple HealthKit (iOS SDK)
The iOS SDK defaults to 90 days of historical data. You can change this usingnumberOfDaysToBackFill when configuring VitalHealthKitClient. The SDK caps this setting at
1,095 days (3 years).
- The resource-specific Team Data Pull Preference.
- The provider-wide Team Data Pull Preference.
- The SDK’s
numberOfDaysToBackFillsetting (90 days by default).