I feel like this should be a bug report but at the very least it is a bad design decision. Confirmed by this documentation Authorizing access to health data Apple is now only allowing the backfill of either 30 days or all data. This is ridiculous as this amounts to all or nothing. We used to sync 90 days worth of data as that was enough to establish trends from the start, 30 days wasn't enough. Now our only option is to backfill years worth of data that is going to bloat our database unacceptably.
Could somebody please explain to me the logic behind this? We should absolutely have the ability to choose the backfill window that meets our requirements. My app has been doing the initial backfill for over an hour now and I am storing 100Ks of rows of data I don't want.