Checks if location is enabled on the device
npm install react-native-location-statusimport { 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.
MPL-2.0
Made with create-react-native-library