'Android GPS tracking app shows app isn't responding after 1 hour 20 minutes
I'm working on an app that takes live location and also we can mark locations by clicking on mark button. The app keeps on saving the coordinates in sqlite and at the end when clicked on save it saves on server. Foreground service is used so that it should keep running until user stops it.
The problem is that app works fine for 1 hour 20 minutes but after that message keeps on popping that app isn't responding (wait or close). Even if we click wait than also GPS is not working.
Please let me know why this is happening and what will be the solution for it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
