Skip to content

fo2rist/cadabra

Repository files navigation

cadabra

Cadabra A/B experiments library

Cadabra simplifies configuration of A/B experiments and access to experiments' config It keeps the registry of all experiments in one place and provides non-blocking API for access and helpers for Android UI

See the documentation for mor details.

To use in gradle project

// for basic functionality
implementation 'com.fo2rist.cadabra:cadabra-core:0.3.0'

// for Android automatic resources resolving
implementation 'com.fo2rist.cadabra:cadabra-android:0.3.0'

// for automatic parsing of Firebase A/B experiment configs
implementation 'com.fo2rist.cadabra:cadabra-firebase:0.3.0'

NOTE: cadabra-firebase 0.2 is the latest to support Android API 15 and it uses firebase-config v16 latter versions use new firebase-config and androidx libraries

MIGRATION NOTES: ExperimentNotStarted exception was removed in 0.3.0, now Cadabra returns null for active variant if the experiment wasn't started

Maven Central Build Status Codacy Badge codecov