Closed socheatleang closed 1 month ago
Delete the following items from your Config then go test again:
disableStopDetection: true, pausesLocationUpdatesAutomatically: false,
@christocracy Thanks.
Read those two config options to yourself: It should become obvious why deleting those options is the solution.
onMotionChange doesn't trigger when with the configuration with stopTimeOut.
Your Environment
react-native -v
): 0.71.14Expected Behavior
When I use stopTimeout with a value of 10, I expect the onMotionChange to be triggered if the user doesn't move for 10 minutes.
Actual Behavior
onMotionChange hit only I trigger changePace.
Steps to Reproduce
Context
I am sure that I subscribed to the motion after .ready(). I try to put the phone on the desk without movement, the onMotionChange still doesn't hit.