# react-native-config/react-native-config

Bring some 12 factor love to your mobile apps!

Repository: https://github.com/react-native-config/react-native-config
Canonical: https://ross.abutalabs.com/products/react-native-config
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-26T21:13:57+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3845, "days_push": 7, "days_rel": 7, "gap_med": 8.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4955, forks 657 (observed 2026-08-28T04:09:03.795268+00:00)

## What it is
A React Native library that exposes environment configuration variables from .env files to JavaScript code in mobile apps, following 12-factor app principles. It supports iOS, Android, macOS, and Windows via a native module with autolinking.

## Use cases
- load API keys and endpoints from a .env file in a React Native app
- manage different config variables per build environment (dev, staging, production)
- access environment variables from JavaScript on iOS and Android
- apply 12-factor config practices to mobile apps
- switch API URLs between app flavors and schemes

## When to choose
- you build React Native apps and need per-environment config variables from .env files
- you want a mature, widely used config library with multi-platform support
- you need config values available to both native and JavaScript code

## When to avoid
- you need to store secrets securely in the app bundle - the library explicitly does not encrypt or obfuscate values
- you are not using React Native
- you need runtime-remote configuration rather than build-time env files

## Facets
- artifact type: library
- maturity: active
- function: configuration-management, sdk
- domain: mobile-development, developer-tools, cross-platform
- platform: windows, cross-platform
- tags: react-native, env-files, 12-factor, native-module, config-variables, ios, android, macos

## Member repositories
- react-native-config/react-native-config (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.795268+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:50.355282+00:00, confidence not recorded.
  - readme: https://github.com/react-native-config/react-native-config (fetched 2026-08-28T04:09:03.795268+00:00, sha 23d9aa2ba69b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
