{"id":18782879,"url":"https://github.com/rescript-react-native/geolocation","last_synced_at":"2025-04-13T12:08:43.810Z","repository":{"id":40724670,"uuid":"206009564","full_name":"rescript-react-native/geolocation","owner":"rescript-react-native","description":"ReScript bindings for @react-native-community/geolocation","archived":false,"fork":false,"pushed_at":"2023-02-09T07:13:53.000Z","size":777,"stargazers_count":5,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T03:11:28.541Z","etag":null,"topics":["geolocation","react","react-native","rescript","rescript-react","rescript-react-native"],"latest_commit_sha":null,"homepage":"","language":"ReScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rescript-react-native.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-09-03T06:56:16.000Z","updated_at":"2024-11-05T00:22:10.000Z","dependencies_parsed_at":"2023-02-08T10:01:12.069Z","dependency_job_id":"a553ed9b-2c25-4b67-8305-8b07dda0e501","html_url":"https://github.com/rescript-react-native/geolocation","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.09090909090909094,"last_synced_commit":"4feee621c42e3f875ef5c5b2ecb195994670d1a2"},"previous_names":["reason-react-native/geolocation"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fgeolocation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fgeolocation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fgeolocation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fgeolocation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rescript-react-native","download_url":"https://codeload.github.com/rescript-react-native/geolocation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248606858,"owners_count":21132428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geolocation","react","react-native","rescript","rescript-react","rescript-react-native"],"created_at":"2024-11-07T20:37:22.402Z","updated_at":"2025-04-13T12:08:43.790Z","avatar_url":"https://github.com/rescript-react-native.png","language":"ReScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@rescript-react-native/geolocation`\n\n[![Build Status](https://github.com/rescript-react-native/geolocation/workflows/Build/badge.svg)](https://github.com/rescript-react-native/geolocation/actions)\n[![Version](https://img.shields.io/npm/v/@rescript-react-native/geolocation.svg)](https://www.npmjs.com/@rescript-react-native/geolocation)\n[![ReScript Forum](https://img.shields.io/discourse/posts?color=e6484f\u0026label=ReScript%20Forum\u0026server=https%3A%2F%2Fforum.rescript-lang.org)](https://forum.rescript-lang.org/)\n\n[ReScript](https://rescript-lang.org) bindings for\n[`@react-native-community/geolocation`](https://github.com/react-native-geolocation/react-native-geolocation).\n\nExposed as `ReactNativeGeolocation` module.\n\n`@rescript-react-native/geolocation` X.y.\\* means it's compatible with\n`@react-native-community/geolocation` X.y.\\*\n\n## Installation\n\nWhen\n[`@react-native-community/geolocation`](https://github.com/react-native-geolocation/react-native-geolocation)\nis properly installed \u0026 configured by following their installation instructions,\nyou can install the bindings:\n\n```console\nnpm install @rescript-react-native/geolocation\n# or\nyarn add @rescript-react-native/geolocation\n```\n\n`@rescript-react-native/geolocation` should be added to `bs-dependencies` in your\n`bsconfig.json`:\n\n```diff\n{\n  //...\n  \"bs-dependencies\": [\n    \"@rescript/react\",\n    \"rescript-react-native\",\n    // ...\n+    \"@rescript-react-native/geolocation\"\n  ],\n  //...\n}\n```\n\n## Note\n\nOn Android, this package uses the\n[android.location API](https://developer.android.com/reference/android/location/package-summary),\nwhich is slower and less accurate than the\n[Google Location Services API](https://developer.android.com/training/location/).\nWhile this may be addressed in the future, below alternatives already use the\nlatter API:\n\n- [react-native-geolocation-service](https://github.com/Agontuk/react-native-geolocation-service)\n- [react-native-location](https://github.com/timfpark/react-native-location)\n\n## Use\n\nDocumentation is not available at this time.\n\n---\n\n## Changelog\n\nCheck the [changelog](./CHANGELOG.md) for more informations about recent\nreleases.\n\n---\n\n## Contribute\n\nRead the\n[contribution guidelines](https://github.com/rescript-react-native/.github/blob/master/CONTRIBUTING.md)\nbefore contributing.\n\n## Code of Conduct\n\nWe want this community to be friendly and respectful to each other. Please read\n[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md)\nso that you can understand what actions will and will not be tolerated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fgeolocation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frescript-react-native%2Fgeolocation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fgeolocation/lists"}