QuestionsCategory: Questionsandroid-sensor-why-its-crashing-when-i-press-start-service
ricky asked 2 years ago

Android Sensor – why it\\\’s crashing when i press start service?

1 Answers
warfreakz Staff answered 2 years ago

Hi Ricky,

Usually this thing happens when your device doesn’t have a Step Detector or Step Counter some people think that those two is the same thing but inside android it’s a different things the Step Detector is just for Detecting a Step and Step Counter is for Counting steps so our plugin needs at least the Step Counter to make it work, the Step Detector is just extra thing, to check if you have this feature utils plugin have method for this you can call it to check 1st before starting the service or loading steps data for more information about this you can check the demo code