Set SDK Environment

Setting up the environment for your application is critical. We strongly recommend you to use this setting carefully. The default environment is set to production, which means that the VWO SDK will send events to the VWO server for tracking visitors and conversions along with actions like bucketing variation, checking eligibility of a user to become part of a campaign, assigning a variation to a user, and so on.

EnvironmentTypeDefault
isDevelopmentModeBooleanfalse

🚧

NOTE

You must set the environment to isDevelopmentMode: true if you're experimenting with the SDK.

import com.vwo.VWO;

String settingsFile = VWO.getSettingsFile(accountId, sdkKey);

VWO vwoInstance = VWO.launch(settingsFile)
                  .withDevelopmentMode(true)
                  .build();