Closed kopax closed 4 years ago
Have you tried reading the docs? It clearly states that to access the env you need
import { API_KEY, ANOTHER_CONFIG } from 'react-native-dotenv'
where API_KEY
is in env
I have abandoned. Seems like this plugin does not fit for expo projects
Hello, I have tested to install on a fresh expo sdk 36 blank project the example :
I have created a
.env
file with:I edited
babel.config.js
with:Env are not present in
process.env
, as a sample it look like:v0.2.0
Thanks and best!