I want to send the google api duration time value to the web service every 1 minute not only in home page across all the pages when the app is in use and clear the interval when google map navigation is completed.
I tried setInterval, Observable timers solutions but it keeps running and sometimes not. What is the proper way of calling the web service every 1 minute in ionic application? please help me
1 post - 1 participant