Skip to main content

ℹ️ Environment

Gleap allows you to set the environment. The environment will be displayed along the environment data.

Gleap.setEnvironment("dev");

The environment is set to 'prod' as default value. Possible values are: "dev" | "staging" | "prod".

caution

If the environment gets set to "dev", the crash detector will not report any crashes, as crashes on a "dev" environment usually only bloat your boards.