Android LocationManager not returning users location

  Kiến thức lập trình

This is a React Native app but in a Android Native module.

I am using the Android LocationManager to get the users current location via GPS but it is returning [0.000000,0.000000]

Location permissions are granted.

val startingLocation = Location(LocationManager.GPS_PROVIDER)
        sendErrorToReact("Start Loc: $startingLocation")

New contributor

Peter Stewart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.