{"id":13433105,"url":"https://github.com/transistorsoft/rn-background-geolocation-demo","last_synced_at":"2025-03-17T10:33:20.547Z","repository":{"id":36214735,"uuid":"40519013","full_name":"transistorsoft/rn-background-geolocation-demo","owner":"transistorsoft","description":"Demo app for react-native-background-geolocation plugin","archived":false,"fork":false,"pushed_at":"2025-01-23T15:40:24.000Z","size":125357,"stargazers_count":207,"open_issues_count":17,"forks_count":114,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-16T10:08:44.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/transistorsoft.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-11T03:20:59.000Z","updated_at":"2025-02-25T06:24:25.000Z","dependencies_parsed_at":"2023-01-16T23:46:28.187Z","dependency_job_id":"e63c546d-7ee9-40de-8ab1-05e193875882","html_url":"https://github.com/transistorsoft/rn-background-geolocation-demo","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transistorsoft%2Frn-background-geolocation-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transistorsoft%2Frn-background-geolocation-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transistorsoft%2Frn-background-geolocation-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transistorsoft%2Frn-background-geolocation-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transistorsoft","download_url":"https://codeload.github.com/transistorsoft/rn-background-geolocation-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244016960,"owners_count":20384245,"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-07-31T02:01:21.080Z","updated_at":"2025-03-17T10:33:20.539Z","avatar_url":"https://github.com/transistorsoft.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# [Demo App]\n## [react-native-background-geolocation](http://transistorsoft.github.io/react-native-background-geolocation/)\n\nFully-featured, React Native demo application for [React Native Background Geolocation Module](http://transistorsoft.github.io/react-native-background-geolocation/)\n\n![Home](https://dl.dropboxusercontent.com/s/byaayezphkwn36h/home-framed-350.png?dl=1)\n![Settings](https://dl.dropboxusercontent.com/s/8lvnpp0gowitagq/settings-framed-350.png?dl=1)\n\n## Installation\n\n```bash\n  git clone https://github.com/transistorsoft/rn-background-geolocation-demo.git\n  cd rn-background-geolocation-demo\n  yarn install\n// \u003cor with npm\u003e\n  npm install\n  npx pod-install\n```\n\nNow run it:\n```bash\n  react-native run-android\n  react-native run-ios\n```\n\n:warning: If you get an iOS build error, this usually fixes it:\n```bash\n  rm ios/Podfile.lock\n  npx pod-install\n```\n\nThe quickest way to see the plugin in-action is to boot the **iOS** simulator and *simulate location* with *Freeway Drive*.\n\nThe demo is composed of three separate and independent sub-applications:\n\n- [Hello World](./src/hello-world/HelloWorld.js)\n- [Simple Map](./src/simple-map/SimpleMap.js)\n- [Advanced](./src/advanced/) with complex settings screen and geofencing.\n\n![](https://dl.dropboxusercontent.com/s/w87uylrgij9kd7r/ionic-demo-home.png?dl=1)\n\n## :large_blue_diamond: Tracking Server\n\nThe demo app is configured to post locations to Transistor Software's demo server, which hosts a web-application for visualizing and filtering your tracking on a map.\n\n- After booting the app the first time, you'll be asked to enter a **unique** \"Tracking Server Username\" (eg: Github username) so the plugin can post locations to `tracker.transistorsoft.com`.\n\n:warning: Make your username **unique** and known only to *you* \u0026mdash; if every one uses *\"test\"*, you'll never find your device!)\n\n![](https://dl.dropboxusercontent.com/s/yhb311q5shxri36/ionic-demo-username.png?dl=1)\n\n- You can view the plugin's tracking history by visiting [http://tracker.transistorsoft.com/username](http://tracker.transistorsoft.com/username).\n\n![](https://dl.dropboxusercontent.com/s/1a4far51w70rjvj/Screenshot%202017-08-16%2011.34.43.png?dl=1)\n\n## Adding Geofences\n\nThe app implements a **longtap** event on the map.  Simply **tap \u0026 hold** the map to initiate adding a geofence.\n\n![Tap-hold to add geofence](https://dl.dropboxusercontent.com/s/9qif3rvznwkbphd/Screenshot%202015-06-06%2017.12.41.png?dl=1)\n\nEnter an `identifier`, `radius`, `notifyOnExit`, `notifyOnEntry`.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransistorsoft%2Frn-background-geolocation-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransistorsoft%2Frn-background-geolocation-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransistorsoft%2Frn-background-geolocation-demo/lists"}