mundraub-android icon indicating copy to clipboard operation
mundraub-android copied to clipboard

Stop GPS updates when app closes

Open niccokunzmann opened this issue 6 years ago • 2 comments

When a new plant is created, it gets a GPS location. When the app closes, still gps is requested. Solution: cancel the GPS update once the app closes.

onDestroy in the new plant activity does not work. related: https://stackoverflow.com/questions/13785720/android-onclose-event


We're using [Polar.sh](https://polar.sh/niccokunzmann) so you can upvote and help fund this issue. We receive the funding once the issue is completed & confirmed by you. Thank you in advance for helping prioritize & fund our work. Fund with Polar

niccokunzmann avatar Aug 12 '18 19:08 niccokunzmann

Using the Java Built-in exit handlers does not seem to work. f07f9a7d3e6810c4d72007c31f9957934a566345

niccokunzmann avatar Aug 13 '18 06:08 niccokunzmann

Is this still the case?

niccokunzmann avatar Aug 04 '19 00:08 niccokunzmann