Hi
I’m developing an app that requires to start updating location when the user is not in move. I declared a variable which start counting when startUpdatingLocation fires. When the counter reaches its final number I fire a method to collect data and push it to Firestone. Also I send a notification to the user. My issue is, since the startUpdatingLocation property request the location of the user twice per second, my data is uploading twice to Firestone and the notification is sent twice as well. Is there any method where can I change the frequency of getting the location from twice per second to one per second?
I’ll really appreciate your help on this