Pedometer watchStepCount not working on Redmi Phones

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): Android
  3. 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);
};

Had some more analysis on this and the issue is coming on android 10 version. Tried to add permission for Activity but still it’s not working on android 10. For now I have ejected from expo and done it using native module but please suggest if any additional configuration is needed to make it work for android 10 version