Environment and target variables?


Is it possible to specify both environment and target variables? I’m building an app that is going to be deployed on the web as well as natively. While developing I’m also testing on an emulator as well as device. This means I need environment variables depending on deployment environment (staging/production) as well as target (browser/emulator/device).

Is there a good way to handle this?