Apps running on "O" devices have significant limits placed on background
location gathering. These limits apply regardless of the targetSdkVersion
specified in build.gradle
. This codelab shows how to work with these new
limits.
Just transferred googles example to kotlin and updated the gradle and google play services version. There were a few changes.
Credits of the original go to: https://github.com/googlecodelabs/background-location-updates-android-o