0.1.2 • Published 5 years ago
rn-location-hook v0.1.2
rn-location-hook
Hook that use expo-location to retrieve device coordinates
Installation
npm install rn-location-hookyarn add rn-location-hookUsage
import useUserLocation from "rn-location-hook";
// ...
const { isLocationEnbaled, isLoading, latitude, longitude, error } = useUserLocation();Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT