Skip to content

Manage environment variables for your React-Native app in XCode + React-Native.

Notifications You must be signed in to change notification settings

manbearshark/xcode-env-variables-example

Repository files navigation

This project provides a sample skeleton react-native application for iOS that shows how to configure XCode builds to provide a set of environment variables to your react-native app at runtime.

Note that this means that you will need to rebuild your app for Debug, Release, and Staging, however now you will have a way to manage your environment settings without relying on hard-coded values in your code.

This project was heavily influenced by a blog post from Multunus.

The most recent versions of the react-native bootstrapping guide can be found here.

About

Manage environment variables for your React-Native app in XCode + React-Native.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published