Use GPS Plugin

Hello


I'm developping a mobile app and i am using the gps plugin to get my location and another forge component to count the distance between my location and the start place in km's to show me how many kms i did for the time.


The problem is, I'm doing this when i click in a button that have the action in destination, but i need to do this action automatically in runtime, like 30 in 30 seconds for example, are there any solution for this??


Here is my action:


 

Hello,


You can use the Session timeout plugin.

Drag the block to your screen and implement the SessionTimeoutEvent to execute your distance calculation.


Regards.

DO