Possibility to use standard LocationManager for Foreground Service sample
vshcherb opened this issue · comments
vshcherb commented
Hello,
Is it possible to use standard LocationManager for Foreground Service Sample instead of GMS FusedLocationProviderClient.
The question comes from point that we have foreground service but it uses LocationManager (we don't want to use dependency to GMS) and the app is constantly getting rejected by Google Play saying we use location in background. So I wonder if it this sample (link from official documentation) says you should always from Android 10 FusedLocationProviderClient if you want your service to be working