{"id":18895896,"url":"https://github.com/echobind/circleci-react-native-orb","last_synced_at":"2026-02-28T01:30:18.739Z","repository":{"id":98471915,"uuid":"161837026","full_name":"echobind/circleci-react-native-orb","owner":"echobind","description":"Take the pain out of building React Native apps on Circle CI","archived":false,"fork":false,"pushed_at":"2020-09-17T00:09:33.000Z","size":19,"stargazers_count":4,"open_issues_count":4,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-16T12:13:56.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/echobind.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":"2018-12-14T20:27:32.000Z","updated_at":"2020-12-07T06:03:16.000Z","dependencies_parsed_at":"2023-06-01T21:31:02.487Z","dependency_job_id":null,"html_url":"https://github.com/echobind/circleci-react-native-orb","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/echobind%2Fcircleci-react-native-orb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echobind%2Fcircleci-react-native-orb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echobind%2Fcircleci-react-native-orb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echobind%2Fcircleci-react-native-orb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echobind","download_url":"https://codeload.github.com/echobind/circleci-react-native-orb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239870516,"owners_count":19710736,"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-11-08T08:31:05.157Z","updated_at":"2026-02-28T01:30:18.692Z","avatar_url":"https://github.com/echobind.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Circle CI React Native Orb\n\n## Overview\n\nAn orb for building React Native applications. Assumes the usage of Fastlane. By default, it:\n\n- Installs dependencies with yarn and caches them\n- Installs gem dependencies (typically for Fastlane) and caches them\n- Installs gradle dependencies and caches them\n- Runs jest tests via `yarn test:ci`\n- Decodes an Android keystore from \\$ANDROID_ENCODED_KEYSTORE and saves to android.keystore for later use\n- Overrides ENV vars with branch-specific ENV vars if they exist. example: API_URL_BETA or BETA_API_URL would override API_URL\n- Creates an .env file containing current ENV vars for use by react-native-config and others\n\n## Other useful features\n\n- overrideable test_steps, pre_build, build, and post_build hooks to customize the build process\n\n## Caveats\n- Assumes that Fastlane will either inject signing config for Android via gradle properties and the encoded keystore mentioned above or Gradle is otherwise setup to fully handle the signing process\n\n---\n\n## Setup\n* Setup your project for Fastlane\n* Setup your project for Circle CI\n* Create a config file at `.circleci/config.yml`. Here's an example:\n```yml\nversion: 2.1\norbs:\n  react-native: echobind/react-native@0.1.1\nworkflows:\n  version: 2\n  main:\n    jobs:\n      - react-native/node:\n          name: node\n      - react-native/android:\n          requires:\n            - node\n          build:\n            - run:\n                name: fastlane adhoc android\n                working_directory: android\n                command: |\n                  bundle exec fastlane adhoc build_number:${CIRCLE_BUILD_NUM}\n      - react-native/ios:\n          requires:\n            - node\n          build:\n            - run:\n                name: fastlane adhoc ios\n                working_directory: ios\n                command: |\n                  bundle exec fastlane adhoc build_number:${CIRCLE_BUILD_NUM}\n```\n\n### Jest\nIf using the default `jest` step, make sure you install `jest-junit` as a `devDependency` and add a `test:ci` script like the following: `\"test:ci\": \"jest --reporters=default --reporters=jest-junit\"`\n\nOtherwise, make sure to override the `jest` step to fit your project's needs.\n\n### Pre_build\nIf using the default `pre_build` steps:\n* Add `ANDROID_ENCODED_KEYSTORE` as an environment variable in the Circle UI. Encode using: `cat \u003cpath-to-keystore-file\u003e | base64 | pbcopy`.\n* Add environment variables required for your app: ex. `API_URL`. Override on a per-branch basis by using the branch name. ex: `BETA_API_URL`\n\nOtherwise, make sure to override `pre_build` to fit your project's needs.\n\n### Kick off a build!\nPush the branch. Circle should run and build ios and android releases after the node job passes.\n\n### Customizing\nNeed to override node version, xcode version, build steps, or anything else? Most jobs \u0026 steps take parameters to customize. Check the orb documentation page for more details.\n\n## Orb Documentation\nGenerated documentation is available on the orb page: https://circleci.com/orbs/registry/orb/echobind/react-native\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechobind%2Fcircleci-react-native-orb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechobind%2Fcircleci-react-native-orb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechobind%2Fcircleci-react-native-orb/lists"}