DEV Community

Discussion on: How to manage staging and production environments in React Native

Collapse
 
luizfbrisighello profile image
Luiz Felipe Shimizu Brisighello

In Android Studio there is no Build Variants for me at:
View -> Tool Windows

For some reason im not able to call a env variable as a path in like:
require(env.IMAGE_SOURCE_PATH)

Any ideas?

Collapse
 
waqaramjad profile image
Waqar Amjad

i have same issue

Collapse
 
calintamas profile image
Calin Tamas

Might be something related to react-native-config linking. Try reinstalling the lib