Skip to content

Repository files navigation

react-native-location-status

Checks if location is enabled on the device

Joseph Hale's software engineering blog

Installation

npm install react-native-location-status

Usage

import{isLocationEnabled}from'react-native-location-status';// ...constresult=awaitisLocationEnabled();// `true` or `false` (Android only)

NOTE: iOS is not supported. Calling isLocationEnabled() on iOS will always return false.

Contributing

License

MPL-2.0


Made with create-react-native-library

Releases

Sponsor this project

Packages

Used by

Contributors

Languages