Pedometer - Already managing a GoogleApiClient Error


I am trying to use expo’s pedometer. I copied the documentation example directly to my App.js created by create-react-native-app.
Yet, every time I try to reload, it always give “Already managing a GoogleApiClient with id 0” error screen.

I had tried to unsubscribe at componentWillMount, but even when I’m only using getStepCountAsync function, it will give me the same error.

Could you please help me with this? Thanks a lot.

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