{"id":28248573,"url":"https://github.com/rahulhaque/compass-react-native","last_synced_at":"2025-08-21T12:11:21.115Z","repository":{"id":35906658,"uuid":"158731571","full_name":"rahulhaque/compass-react-native","owner":"rahulhaque","description":"A simple compass app built with react-native and react-native-sensors. Expo version - https://github.com/rahulhaque/compass-react-native-expo","archived":false,"fork":false,"pushed_at":"2024-11-22T13:58:56.000Z","size":2917,"stargazers_count":80,"open_issues_count":4,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-19T12:16:38.547Z","etag":null,"topics":["android","compass","magnetometer","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rahulhaque.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":"2018-11-22T17:21:39.000Z","updated_at":"2025-05-19T06:26:53.000Z","dependencies_parsed_at":"2023-01-16T09:00:39.831Z","dependency_job_id":"70ea5bde-e4de-48c0-a47a-63ba66c2ddec","html_url":"https://github.com/rahulhaque/compass-react-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rahulhaque/compass-react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulhaque%2Fcompass-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulhaque%2Fcompass-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulhaque%2Fcompass-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulhaque%2Fcompass-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulhaque","download_url":"https://codeload.github.com/rahulhaque/compass-react-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulhaque%2Fcompass-react-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271477990,"owners_count":24766423,"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-08-21T02:00:08.990Z","response_time":74,"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":["android","compass","magnetometer","react-native"],"created_at":"2025-05-19T12:16:24.809Z","updated_at":"2025-08-21T12:11:21.103Z","avatar_url":"https://github.com/rahulhaque.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compass React Native 🧭\nA simple compass app built with react-native solely for learning purposes. Expo version can be found [here](https://github.com/rahulhaque/compass-react-native-expo). This project is overall an example for anyone trying to work with sensors/magnetometer in react native.\n\n## Description\nA very simple demonstration of how to use the device's built in `Magnetometer` sensor to identify the direction and calculate the degree of angle. This app makes use of the below packages - \n- [React-Native-Sensors](https://github.com/react-native-sensors/react-native-sensors) for magnetometer data.\n- [Low-Pass-Filter](https://github.com/uhho/LPF) to reduce sensor data fluctuation.\n\n## Run the App\n- Clone or download the repository.\n- `cd` into directory.\n- Run `npm install`\n- Copy your `debug.keystore` from Android Studio to project `/android/app`\n- Connect your device in `USB debugging` mode or use an Android emulator.\n- Then run `react-native run-android`.\n\n## To-do\n- Build and test the app on iOS devices. The `/ios` directory does not contain any dependencies or config. (Yet to own a Mac 💻).\n\n## Screenshots\n\u003cimg title=\"Compass\" src=\"https://github.com/rahulhaque/compass-react-native/blob/master/screenshots/image.png\" width=\"300\"\u003e\n\n## Info\nShare the project and spare a 🟊 if helped.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulhaque%2Fcompass-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulhaque%2Fcompass-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulhaque%2Fcompass-react-native/lists"}