This is an working Example of Location Tracker in a Background Service.🥳
This app is Build up on,
- Jetpack compose
- Kotlin
- Flow
- Coroutines.
We using Abstraction Approach and Exception Handler, to avoid weird memory leaks.🤯
some useful Info :👨💻
- SupervisorJob (in LocationService.kt) - if one job in this scope fails, it will make sure others to keep running.
- Flow callbackFlow Function -
- Check Comments and Commits for Better Understanding 😜