@rescript-react-native/geolocation
v2.0.3
Published
ReScript bindings for @react-native-community/geolocation.
Downloads
4
Readme
@rescript-react-native/geolocation
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.*
Installation
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"
],
//...
}
Note
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:
Use
Documentation is not available at this time.
Changelog
Check the changelog for more informations about recent releases.
Contribute
Read the contribution guidelines before contributing.
Code of Conduct
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.