{"id":20490978,"url":"https://github.com/circleci-public/circleci-demo-react-native","last_synced_at":"2025-04-08T00:37:35.969Z","repository":{"id":27330290,"uuid":"113211213","full_name":"CircleCI-Public/circleci-demo-react-native","owner":"CircleCI-Public","description":"A demo React Native project that’s building on CircleCI 2.0 with Workflows","archived":false,"fork":false,"pushed_at":"2024-11-19T19:26:48.000Z","size":28448,"stargazers_count":235,"open_issues_count":48,"forks_count":324,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-03-31T23:34:21.327Z","etag":null,"topics":["circleci","circleci-demos","react","react-native"],"latest_commit_sha":null,"homepage":"https://circleci.com/gh/CircleCI-Public/circleci-demo-react-native","language":"Ruby","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/CircleCI-Public.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-05T17:15:16.000Z","updated_at":"2024-06-02T10:16:17.000Z","dependencies_parsed_at":"2024-12-27T23:45:08.412Z","dependency_job_id":null,"html_url":"https://github.com/CircleCI-Public/circleci-demo-react-native","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/CircleCI-Public%2Fcircleci-demo-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CircleCI-Public","download_url":"https://codeload.github.com/CircleCI-Public/circleci-demo-react-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755560,"owners_count":20990620,"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":["circleci","circleci-demos","react","react-native"],"created_at":"2024-11-15T17:19:16.609Z","updated_at":"2025-04-08T00:37:35.934Z","avatar_url":"https://github.com/CircleCI-Public.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircleCI Demo React Native App\n\n[![CircleCI](https://circleci.com/gh/CircleCI-Public/circleci-demo-react-native.svg?style=svg)](https://circleci.com/gh/CircleCI-Public/circleci-demo-react-native)\n\n## Building and running locally\n\n1. Run `yarn` to install the JS dependencies.\n2. Run `yarn test` to run the JS tests (via `jest`).\n3. Run `yarn start` to run the app in development mode. You can open it\n   in the [Expo app](https://expo.io) on your phone. It will reload as\n   you save edits to your files. You will see error messages and logs in\n   your terminal window.\n\n### Running the iOS app in the iOS simulator\n\nThis requires Xcode 9 or newer.\n\n1. Run `bundle install` in the `ios` directory to install all\n   dependencies.\n2. Run `yarn run ios` to start the app in the iOS simulator.\n\nYou can also build the app directly by opening the iOS project in Xcode\nand clicking **Product** -\u003e **Run**.\n\nTo run tests, either select **Product** -\u003e **Test** in Xcode, or run\n`bundle exec fastlane test` in the command line inside the `ios`\ndirectory.\n\n### Running the Android app in the Android emulator.\n\n1. Run `bundle install` in the `android` directory to install all\n   dependencies.\n2. Run `yarn run android` to start the app in the Android emulator.\n\nTo run tests, run `bundle exec fastlane test` in the command line inside\nthe `android` directory.\n\n### Running tests using the CircleCI CLI\n\nYou can run individual jobs from the [configuration\nfile](https://github.com/CircleCI-Public/circleci-demo-ios/blob/master/.circleci/config.yml)\nusing the CircleCI CLI.\n\nPlease see [this doc](https://circleci.com/docs/2.0/local-jobs/#nav-button)\nfor details on how to install the CLI. Once it is installed, you can run\nthe `build` job by running the following in the root of this repo:\n\n```bash\ncircleci build\n```\n\nTo run the Android job, you can run the following:\n\n```bash\ncircleci build --job android\n```\n\nIt is currently not possible to run the iOS job locally.\n\n## Building on CircleCI\n\nThis example is ready to be built on CircleCI. Once you have copied or\nforked the repository, navigate to the CircleCI web interface, choose\n**Projects** and then **Add project**. Select a project and click\n**Start building**.\n\nTry pushing some changes to your repo to see how a JS job runs, and\nthen the Android and iOS tests get run concurrently.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-demo-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircleci-public%2Fcircleci-demo-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-demo-react-native/lists"}