ReScript bindings for
@react-native-community/geolocation
.
Exposed as ReactNativeGeolocation
module.
@rescript-react-native/geolocation
X.y.* means it's compatible with
@react-native-community/geolocation
X.y.*
When
@react-native-community/geolocation
is properly installed & configured by following their installation instructions,
you can install the bindings:
npm install @rescript-react-native/geolocation
# or
yarn add @rescript-react-native/geolocation
@rescript-react-native/geolocation
should be added to bs-dependencies
in your
bsconfig.json
:
{
//...
"bs-dependencies": [
"@rescript/react",
"rescript-react-native",
// ...
+ "@rescript-react-native/geolocation"
],
//...
}
On Android, this package uses the android.location API, which is slower and less accurate than the Google Location Services API. While this may be addressed in the future, below alternatives already use the latter API:
Documentation is not available at this time.
Check the changelog for more informations about recent releases.
Read the contribution guidelines before contributing.
We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.