why expo pedometer needs Google fit(Android) or Core Motion(IOS)?

#1

Hey,
i was wondering , why the Expo Pedometer API needs Google fit (Android) and Core Motion (IOS) to work on a standalone device?
i know its the first line in the pedometer documentation, but i wanna know why exactly ?
a brief explation would be very helpful.
Thank you in advance

#2

Core Motion and Google Fit are the underlying native frameworks which poll for data involving the phone’s movement. Apple and Google have implemented additional behavior on top of those frameworks which transforms that raw motion data into more abstract user behavior, like “steps taken”. The Expo Pedometer API uses these frameworks in order to grab that more abstract behavior.

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.