Anders
Anders

Reputation: 729

Location updates in background, for only a fixed amout of time?

Right now, my app is able to receive location updates in the background. However if the user forgets about it, and the app enters background while still receiving updates, it can in theory keep getting updates forever(i think?) until the user correctly turns it off.

Is there a way to set at timer to automatically stop the location manager, in case it is not shut down by the user?

Upvotes: 1

Views: 33

Answers (1)

Related Questions