Kotlin: enqueueWork + JobIntentService
I'm creating app with GPS tracking. I'm calling JobIntentContent (there's a cycle until user stops it with tap to Stop) with
enqueueWork. It works but app goes sleep after cca 30 seconds (I count it with ring every 10 seconds). After few minutes wakes up for few seconds again. What do I need to do to keep the application alive?
My AndroidManifest.xml contains:
...
...
......