Expo.Pedometer.getStepCountAsync is exactly what I’m asking about. I guess I’m trying to understand where this data comes from. On my iOS device I’m able to navigate to Health > Steps and see several months of steps data.
However, the pedometer seems to have a different history of steps. If I iterate backwards checking day by day, I see much less data. At first I believed it was just capped at 7 days, but now I’m seeing more which makes me believe that using the Pedometer in an app creates a different storage of step count data that maybe started collecting the day I started prototyping with this API on my device.
Pedometer.getStepCountAsync(start, end) API have a limit to the number of days back it will read data from? Or is it reading from a different source than the apple healthkit data on the iOS device, in which case it must just be reading whatever data exists?