@rescript-react-native/geolocation

2.0.3 • Public • Published

@rescript-react-native/geolocation

Build Status Version ReScript Forum

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.

Dependents (0)

Package Sidebar

Install

npm i @rescript-react-native/geolocation

Weekly Downloads

0

Version

2.0.3

License

MIT

Unpacked Size

7.41 kB

Total Files

6

Last publish

Collaborators

  • moox