0.1.2 • Published 3 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-hook
yarn add rn-location-hook
Usage
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