Step counter app using accelerometer

Hi,

     Would like to know if anyone has build a pedometer app using appgyver accelerometer feature, i would like to know the formula i can use in order count the steps when walking and have it displayed in the app, any guidance will be helpful 

Thanking you

I dont think this would be possible due to potential limitations with running appgyver apps in the backgriund here: App tracking in background

I have some tutorials on my channel that may help with mew ideas here: youtube.com/c/tylertalkschannel