Whatsapp has an issue with Live-Location-Sharing when it is running in the background on all Android 10 devices!
With Android 10 an app needs to request android.permission.ACCESS_BACKGROUND_LOCATION in the AndroidManifest.xml in order to be able to access location, when running in the background.
Code: <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
Users cannot grant this, if the app does not request it.
255|OnePlus7Pro:/ $ pm grant com.whatsapp android.permission.ACCESS_BACKGROUND_LOCATION
Security exception: Package com.whatsapp has not requested permission android.permission.ACCESS_BACKGROUND_LOCATION
For Details please refer to the official Android Developers Page: https://developer.android.com/about/versions/10/privacy/changes or https://www.journaldev.com/28028/android-10-location-permissions
As far as i understand this only affects users that migrate to Android 10! Google pixel phones are affected as well as Oneplus phones upgraded to Android 10.
Problem will grow, as soon as more OEMs start upgrading devices to Android 10.
Please hand over to your android developers asap.
I am a heavy user of this feature (Share Live Location) while using Google Maps in foreground. This bug is really anoying!