{"id":4508,"url":"https://github.com/aaronksaunders/react-native-reverse-geo","last_synced_at":"2025-10-24T16:31:31.129Z","repository":{"id":31890141,"uuid":"35458904","full_name":"aaronksaunders/react-native-reverse-geo","owner":"aaronksaunders","description":null,"archived":false,"fork":false,"pushed_at":"2015-05-17T17:36:07.000Z","size":180,"stargazers_count":19,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T23:42:50.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/aaronksaunders.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-12T01:10:51.000Z","updated_at":"2023-11-14T03:27:17.000Z","dependencies_parsed_at":"2022-09-08T13:20:34.478Z","dependency_job_id":null,"html_url":"https://github.com/aaronksaunders/react-native-reverse-geo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Freact-native-reverse-geo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Freact-native-reverse-geo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Freact-native-reverse-geo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Freact-native-reverse-geo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronksaunders","download_url":"https://codeload.github.com/aaronksaunders/react-native-reverse-geo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237999765,"owners_count":19399939,"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":[],"created_at":"2024-01-05T20:17:14.713Z","updated_at":"2025-10-24T16:31:30.630Z","avatar_url":"https://github.com/aaronksaunders.png","language":"Objective-C","readme":"# react-native-reverse-geo\n\nReact Native module bridge to convert address to geo coordinates.\n\nMakes use of the following native iOS classes: \n* [CLGeocoder](https://developer.apple.com/library/prerelease/ios/documentation/CoreLocation/Reference/CLGeocoder_class/index.html)\n* [CLPlacemark](https://developer.apple.com/library/prerelease/ios/documentation/CoreLocation/Reference/CLPlacemark_class/index.html)\n* [MKPlacemark](https://developer.apple.com/library/mac/documentation/MapKit/Reference/MKPlacemark_Class/index.html)\n\n## API\n\n\n## Getting Started (and running the demo project)\n\n1. From inside your project run `npm install react-native-reverse-geo --save`\n2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n3. Go to `node_modules` ➜ `react-native-reverse-geo` and add `RNReverseGeo.xcodeproj`\n4. In XCode, in the project navigator, select your project. Add `libRNReverseGeo.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n5. Click `RNReverseGeo.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../react-native/React` and `$(SRCROOT)/../../React` - mark both as `recursive`.\n6. RNReverseGeoRun your project (`Cmd+R`)\n\n## Usage Example\n\n```js\nvar React = require('react-native');\n\n// Load Up our Native Module..\nvar {\n    RNReverseGeo\n} = require('NativeModules');\n\n  getInitialState: function() {\n    return {\n      reverseGeoResults: \"Loading...\"\n    };\n  },\n\n  componentDidMount: function() {\n    var that = this;\n    RNReverseGeo.geoCodeAddress(\"370 Tompkins Ave, Brooklyn, NY 11216\", \n      function(_results){\n        console.log(_results);\n        that.setState({\n          reverseGeoResults : JSON.stringify(_results,null,2)\n        })\n      });\n  },\n```\n\nThere is an example project supplied with the repo in the RNReverseGeoDemo folder.\n","funding_links":[],"categories":["Components"],"sub_categories":["Geolocation","System"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Freact-native-reverse-geo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronksaunders%2Freact-native-reverse-geo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Freact-native-reverse-geo/lists"}