Version 2.3.0
Deprecated following functions:
com.vwo.mobile.VWO.setCustomVariable(String key, String value)
com.vwo.mobile.VWO.setOptOut(boolean optOut)
Use following instead:
// Config for adding custom user segmentation parameters before launch.
Map<String, String> userSegmentationMapping = new HashMap<>();
customKeys.put("userType", "free");
VWOConfig vwoConfig = new VWOConfig
.Builder()
.setCustomSegmentationMapping(userSegmentationMapping)
.setOptOut(true) // To opt out of VWO SDK.
.disablePreview() // To disable preview Mode.
.build();
VWO.with(Context, VWO_APP_KEY).config(vwoConfig).launch(null);