Skip to content

Version 2.3.0

Compare
Choose a tag to compare
@aman400 aman400 released this 09 Apr 12:36
· 125 commits to master since this release

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);