Relative Content

Tag Archive for node.jsreact-nativeexpo

Type definition change source when build android

I’m building a app on react-native with Expo. I created a .env file with my variables. The problemas is that when I run npx expo run:android the process.env type definition change and the only available var is NODE_ENV, so I get the error Property 'EXPO_PUBLIC_ANDROID_FIREBASE_CLIENT_ID' does not exist on type 'typeof env'., as you can see in the image the type definition if from android folder: