Closed MuthuSubramaniam closed 6 years ago
This is not specific to this library. Instead, it’s simply related to your app being in the background, as you noted, and perhaps also to App Standby and Doze.
Location updates are provided to background apps only a few times each hour.
– https://developer.android.com/about/versions/oreo/background-location-limits
Perhaps you may be able to use Context.startForegroundService
.
Hi Team, this library simplified lot of works. But in my application i am using background service to update user current location using alarmManager & Service.
**1. If user is in online then i send data to server. If not storing into Room Database.
Please help me if i am wrong. Thanks!
` class AppService : Service() { var NOTIFICATION_ID = "notification-id"