codelab-while-in-use-location
codelab-while-in-use-location copied to clipboard
Codelab:
https://codelabs.developers.google.com/codelabs/while-in-use-location#4 Dependency 'androidx.appcompat:appcompat:1.4.1' requires 'compileSdkVersion' to be set to 31 or higher. Compilation target for module ':base' is 'android-30' 'androidx.core:core-ktx:1.7.0', 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0', 'androidx.appcompat:appcompat-resources:1.4.1', 'androidx.emoji2:emoji2-views-helper:1.0.0', 'androidx.emoji2:emoji2:1.0.0', 'androidx.core:core:1.7.0', 'androidx.lifecycle:lifecycle-process:2.4.0', 'androidx.lifecycle:lifecycle-runtime:2.4.0' Unclear what these...
https://android.googlesource.com/platform/tools/base/+/51644d6f302ea8c3616d98afde0b4ee30d7d4741 BuildConfig: Deprecate APPLICATION_ID in libraries. It is at best misleading, so it is marked as deprecated and replaced by LIBRARY_PACKAGE_NAME.
Since some revision of Android 11, Foreground Services are no longer allowed to access location if started from the background (https://developer.android.com/about/versions/11/privacy/foreground-services). Starting a Foreground Service from the onUnbind-callback of an...
You should rework this example and codelab soon to comply with the changes done here: https://developer.android.com/jetpack/androidx/releases/localbroadcastmanager#1.1.0-alpha01 --- Version 1.1.0-alpha01 December 17, 2018 androidx.localbroadcastmanager is being deprecated in version 1.1.0-alpha01. Reason...
Step 1.6, Unsubscribe to location changes. task.isSuccessful (ForegroundOnlyLocationService line )- is always FALSE. I’m not able to take my location. When I ran on my phone it wasn’t working also...
Fresh install of Android Studio, the initial gradle build fails for an "Unknown reason". Manually updating he Kotlin version to the default version installed with Android Studio does not help.
The base and completed modules do not contain the Foreground and Background button as described in the codelab and there are no TODO: steps 3.1, 3.2, 3.3, 3.4, 3.5, 3.6....
When I checked out the project gradle build failed at first. I had to specify kotlin version in `build.gradle` manually. In my case: ``` ext.kotlin_version = '1.5.31' ``` Then I...
Hi, my team is having problems in a custom app that was created after this project. The location service starts correctly and after a while(can be minutes or hours) the...