python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
React Native Geolocation await function not working
I am trying to get geolocation from the react-native package "@react-native-community/geolocation". on button click I want to get latitude and longitude, for that, I am creating a separate f...

AD Sharma
Votes: 0
Answers: 1
Android 10 device freezing in react native application
My react native application causing device freezing and restart when user approved for fine location in android 10.
AndroidMaifest.xml includes this permissions
<uses-permission android:name="...

Rajat.r2
Votes: 0
Answers: 1
Kotlin function override null check
I try to get lastLocation of user and implemented the method like this.
getLocationClient()?.lastLocation?.addOnSuccessListener(object :
OnSuccessListener<Location> {
o...

ahmetnecdeto
Votes: 0
Answers: 1
isFromMockProvider() is returning true even if I am turning off fake/mock location
I am getting location, to check that is it Mock or not I am doing it as:
if(location.isFromMockProvider()){
return true;
}
If there is no fake gps app, it will return false.
I am testing it by dow...

Faizan Ahmad
Votes: 0
Answers: 2