EAS: Accessing build profile

I recently migrated from Expo Build to EAS Build. How can I actually access EAS_BUILD_PROFILE in my code? Is there just a process.env variable somewhere? Is there something I need to import? Previously I was using manifest.releaseChannel in expo-constants

this env var is set on the build worker at build time. this page explains how you can use env vars in your app code: Environment variables in Expo - Expo Documentation

that said, if you use EAS Update then you can use Updates.channel in the same way you used manifest.releaseChannel before

1 Like