{"id":21862942,"url":"https://github.com/shashank2406/react-native-google-location-fetcher","last_synced_at":"2026-05-06T01:34:11.488Z","repository":{"id":57337300,"uuid":"140974601","full_name":"Shashank2406/react-native-google-location-fetcher","owner":"Shashank2406","description":"Google Location Fetcher","archived":false,"fork":false,"pushed_at":"2018-07-15T14:03:28.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T13:55:27.985Z","etag":null,"topics":["google-api","location","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shashank2406.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-14T20:04:27.000Z","updated_at":"2018-09-10T10:55:43.000Z","dependencies_parsed_at":"2022-09-10T02:53:26.455Z","dependency_job_id":null,"html_url":"https://github.com/Shashank2406/react-native-google-location-fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Shashank2406/react-native-google-location-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank2406%2Freact-native-google-location-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank2406%2Freact-native-google-location-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank2406%2Freact-native-google-location-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank2406%2Freact-native-google-location-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shashank2406","download_url":"https://codeload.github.com/Shashank2406/react-native-google-location-fetcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank2406%2Freact-native-google-location-fetcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267278662,"owners_count":24063254,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["google-api","location","react-native"],"created_at":"2024-11-28T03:18:20.078Z","updated_at":"2025-10-28T06:10:22.284Z","avatar_url":"https://github.com/Shashank2406.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-google-location-fetcher\nGoogle Location Fetcher for iOS and Android React-Native apps\n\n## PLANNED FEATURES\n\n- [x] Get Location Coordinates\n- [x] Reverse Geocoding from Google API\n- [x] Get Location Name from Google API\n- [x] Get any Location Coordinates from Google API\n- [ ] Ask permission for location on Android\n\n\n### Installation\n\n1. ```npm install react-native-google-location-fetcher --save```\n2. Get your [Google Places API keys](https://developers.google.com/places/) and enable \"Google Places API Web Service\" (NOT Android or iOS) in the console.\n3. Enable \"Google Maps Geocoding API\" if you want to use GoogleReverseGeocoding for Current Location\n\nFor Android: add the following line in your AndroidManifest.xml\n```xml\n\u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/\u003e\n```\n\n### Example\n\n```jsx\nimport React from 'react';\nimport { View, Image } from 'react-native';\nimport {GoogleLocationFetcher} from 'react-native-google-location-fetcher'\n\n\nexport default class App extends Component {\n  componentWillMount(){\n    // To initialise the module\n    GoogleLocationFetcher.initialise(YOUR_API_KEY)\n    // To get current Location coordinates and name\n    console.log(GoogleLocationFetcher.getCurrentLocation())\n    // To get location name from coordinates\n    console.log(GoogleLocationFetcher.getLocationName(LATITUDE,LONGITUDE))\n    // TO get location coordinates \n    console.log(GoogleLocationFetcher.getLocationCoordinates(ANY_LOCATION_NAME))\n  }\n  render() {\n    return (\n      \u003cView style={styles.container}\u003e\n        \u003cText style={styles.welcome}\u003eWelcome to React Native!\u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003eTo get started, edit App.js\u003c/Text\u003e\n        \u003cText style={styles.instructions}\u003e{instructions}\u003c/Text\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank2406%2Freact-native-google-location-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashank2406%2Freact-native-google-location-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank2406%2Freact-native-google-location-fetcher/lists"}