{"id":13941709,"url":"https://github.com/vikrantnegi/react-native-location-tracking","last_synced_at":"2025-04-09T09:08:51.148Z","repository":{"id":31791897,"uuid":"128912546","full_name":"vikrantnegi/react-native-location-tracking","owner":"vikrantnegi","description":"Track User location and draws the path you have taken","archived":false,"fork":false,"pushed_at":"2023-01-23T22:05:39.000Z","size":3439,"stargazers_count":208,"open_issues_count":20,"forks_count":99,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T02:27:10.664Z","etag":null,"topics":["react-native","react-native-location","react-native-maps","react-native-tracking"],"latest_commit_sha":null,"homepage":"https://medium.com/@vikrantnegi/react-native-location-tracking-14ab2c9e2db8","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/vikrantnegi.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-04-10T10:03:45.000Z","updated_at":"2025-03-25T03:59:49.000Z","dependencies_parsed_at":"2023-02-13T04:00:59.092Z","dependency_job_id":null,"html_url":"https://github.com/vikrantnegi/react-native-location-tracking","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/vikrantnegi%2Freact-native-location-tracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrantnegi%2Freact-native-location-tracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrantnegi%2Freact-native-location-tracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrantnegi%2Freact-native-location-tracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikrantnegi","download_url":"https://codeload.github.com/vikrantnegi/react-native-location-tracking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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":["react-native","react-native-location","react-native-maps","react-native-tracking"],"created_at":"2024-08-08T02:01:25.570Z","updated_at":"2025-04-09T09:08:51.126Z","avatar_url":"https://github.com/vikrantnegi.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/vikrantnegi","https://ko-fi.com/E1E6Z0JL"],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-native-location-tracking\nTracks user and draws a path as the user location changes. This app is built using the PUBNUB for realtime updates and React Native for handling the frontend.\n\nRead article posted on [Medium](https://medium.com/quick-code/react-native-location-tracking-14ab2c9e2db8)\n\n![alt tag](./assets/location-tracking.gif)\n\n## Installation\n### npm modules\n```npm install```\nor\n```yarn```\n\n### Pods\n```cd ios \u0026\u0026 pod install```\n\n## Usage\n```react-native run-ios```\nor\n```react-native run-android```\n\n## Debugging\n### iOS\n* iOS simulator has inbuilt dynamic location tracking debugging mode\n* Go to ```Debug \u003e Location \u003e Freeway Drive```\n\n### Android\n* Android emulators doesn't have any in built feature to test the dynamic location changes\n* You can use 3rd party apps to mock gps location apps. [GPS Joystick](https://play.google.com/store/apps/details?id=com.theappninjas.gpsjoystick\u0026hl=en_IN) was working fine for me\n\n## Troubleshooting\n#### App is giving error\n* If this repo is not working for you, I would suggest that you create your own [react-native](https://facebook.github.io/react-native/docs/getting-started.html) project\n* Install [react-native-maps](https://github.com/react-community/react-native-maps/) using their [installation guide](https://github.com/react-community/react-native-maps/blob/master/docs/installation.md)\n* Replace its App.js with this project's App.js\n\n#### Blank Map\n* Create new Google Maps API keys\n* Go to https://developers.google.com/maps/documentation/ios-sdk/get-api-key and https://developers.google.com/maps/documentation/android-api/signup to get your keys for both iOS and Android.\n* Replace them at their respective places\n\n#### App crashes as soon as it launches in Android\n* Try giving it the location permission manually to the app by going to the device setting\n\n## Donation\n\nIf this project helped you reduce time to develop, please consider buying me a cup of coffee :)\n\n\u003ca href=\"https://www.buymeacoffee.com/vikrantnegi\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E6Z0JL)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikrantnegi%2Freact-native-location-tracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikrantnegi%2Freact-native-location-tracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikrantnegi%2Freact-native-location-tracking/lists"}