Skip to content
Articles
Article

Patches Welcome #4: I Needed My Dependency to Shut Down Cleanly, So I Patched It

by Sagar Ghag dev.to

2 min read

My app's GPS tracking service kept running after an FCM silent push triggered auto-punchout. The app was killed. The background handler ran, punched the user out, and tried to stop the GPS service. The service ignored it. Battery drained until the user manually opened the app. The problem wasn't in my code. It was in Tracelet, the GPS tracking library I depend on. Why Tracelet.stop() doesn't work…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by