react-native-location-status
v0.2.0
Published
Checks if location is enabled on the device
Readme
react-native-location-status
Checks if location is enabled on the device
Installation
npm install react-native-location-statusUsage
import { isLocationEnabled } from 'react-native-location-status';
// ...
const result = await isLocationEnabled(); // `true` or `false` (Android only)NOTE: iOS is not supported. Calling isLocationEnabled() on iOS will
always return false.
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MPL-2.0
Made with create-react-native-library
