{"id":31753386,"url":"https://github.com/root-app/root-drive-science-rn-demo","last_synced_at":"2025-10-09T17:46:20.040Z","repository":{"id":38853177,"uuid":"220093042","full_name":"Root-App/root-drive-science-rn-demo","owner":"Root-App","description":"React Native Demo for the Root Drive Science SDK","archived":false,"fork":false,"pushed_at":"2023-07-19T01:18:53.000Z","size":1960,"stargazers_count":0,"open_issues_count":20,"forks_count":0,"subscribers_count":47,"default_branch":"master","last_synced_at":"2024-04-15T01:12:04.032Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/Root-App.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":"2019-11-06T21:25:00.000Z","updated_at":"2021-02-03T20:19:20.000Z","dependencies_parsed_at":"2023-02-15T04:31:04.291Z","dependency_job_id":null,"html_url":"https://github.com/Root-App/root-drive-science-rn-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Root-App/root-drive-science-rn-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Root-App%2Froot-drive-science-rn-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Root-App%2Froot-drive-science-rn-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Root-App%2Froot-drive-science-rn-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Root-App%2Froot-drive-science-rn-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Root-App","download_url":"https://codeload.github.com/Root-App/root-drive-science-rn-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Root-App%2Froot-drive-science-rn-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001828,"owners_count":26083197,"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-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2025-10-09T17:46:17.972Z","updated_at":"2025-10-09T17:46:20.028Z","avatar_url":"https://github.com/Root-App.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Root Drive Science React Native Demo\n\nThis application is a demonstration of how to integrate a React Native\napplication with Root's Drive Science SDK for iOS and Android.\n\nFor full information on how to integrate your system please see the\nintegration docs at \u003chttps://github.com/Root-App/drive-science-docs\u003e\n\n## Requirements\n\n* This version of the Root SDK requires React Native 0.61.\n* On iOS, we expect that you are using Xcode 11.4.x and building for\n  iOS 10.0 and up.\n* On Android we expect that you are building for Android 5.0\n  (Lollipop) and up.\n\n## Running the App\n\nInstall the following (assuming macOS)\n\n* node (`brew install node`)\n* yarn (`brew install yarn`)\n* watchman (`brew install watchman`)\n\n### iOS\n\n#### Prerequisites\n\nEnsure that the following are installed on your macOS system:\n\n* Xcode 11.4.x\n  (Install via the Mac App Store or using \u003chttps://github.com/RobotsAndPencils/xcodes\u003e)\n* Cocoapods\n  (`sudo gem install cocoapods` if you are using the Apple system Ruby,\n  if you have installed your own Ruby version, probably just\n  `gem install coocapods`)\n\nWithin Xcode:\n\n* Ensure the Xcode command line tools are installed by opening Xcode, heading\n  to \"Preferences\", going to the \"Locations\" panel and selecting the most\n  recent version of the command line tools.\n* In the same \"Preferences\" panel, go to \"Components\", and select a simulator.\n\n#### Running\n\nFrom the command line of the project directory\n\n* `$ cd DriveScienceDemo`\n* `$ yarn install`\n* `$ cd ios \u0026\u0026 pod install \u0026\u0026 cd ..`\n* `$ react-native run-ios`\n\nThe app should load in a simulator (the first build will take a few minutes).\n\nYou can specify a different simulator device with the `--simulator` flag, as\nin `react-native run-ios --simulator=\"iPhone X\"`.\n\nYou can open the app in Xcode by opening the file\n`DriveScienceDemo/ios/DriveScienceDemo.xcworkspace`\n\nIf you want to run the app on a physical device, check out the instructions at\n\u003chttps://facebook.github.io/react-native/docs/running-on-device\u003e.\n\n### Android\n\n#### Prerequisites \n\nEnsure that the following are installed on your system\n\nThis assumes macOS, for other operating systems, see\n\u003chttps://facebook.github.io/react-native/docs/getting-started\u003e.\n\n* Android Studio 3.5.x \u003chttps://developer.android.com/studio\u003e\n* Android 5.0 SDK (version 21, accessible from Android Studio via Tools -\u003e SDK Manager)\n* Install a JDK 8 or newer. The react native docs recommend\n  `brew tap AdoptOpenJDK/openjdk \u0026\u0026 brew cask install adoptopenjdk8`\n\nInstructions on setting up Android Studio can be found at\n\u003chttps://facebook.github.io/react-native/docs/getting-started\u003e\n\nYou will need to install Android SDK 5.0 in the Android studio SDK manager \nto run the Android app. \n\n* `$ cd DriveScienceDemo`\n* `$ yarn install`\n* `$ react-native run-android`\n\n## Using the App\n\nPressing the \"Start Tracking\" button will contact a (non-production) Root\nserver and start tracking keyed to this device. Pressing \"Stop Tracking\" will\nend the tracking. A few events will be logged to the screen. The \"copy log\"\nbutton copies those logs to the system clipboard for diagnostic purposes.\n\n## Develop the iOS App with local RootTripTracker pod changes\n\n```\ncd DriveScienceDemo \u0026\u0026 yarn run ios-local\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froot-app%2Froot-drive-science-rn-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froot-app%2Froot-drive-science-rn-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froot-app%2Froot-drive-science-rn-demo/lists"}