- SDK Version: 41
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
I am using expo-sensors Pedometer to fetch the steps count. The code works fine in ios and android phones but is not working on Redmi Phones. The subscription works successfully, but the callback method never gets called
const subscribe=()=>{
Pedometer.watchStepCount((updatedSteps) => {
updateStepsCount(updatedSteps);
});
};
const updateStepsCount = (updatedSteps) => {
console.log(updatedSteps);
};