An environment variable is a variable who’s value is set from outside the program. This variable is made up of a key/value pair that can be accessed simply by importing the variable from source file of your React Native App . In some cases, such as in React, the variable doesn’t need to be imported at all.