A thin library designed for seamless integration between Survicate and UXCam on Android. It automatically sends survey answers coming from Survicate SDK as UXCam events that can be previewed directly in the UXCam panel.
Make sure you have defined the Maven repositories for Survicate and UxCam:
repositories {
// ...
maven { url 'https://repo.survicate.com' }
maven { url 'https://sdk.uxcam.com/android/' }
}
Add the dependency to your app's build.gradle
file:
dependencies {
// The integration library
implementation 'com.survicate:survicate-uxcam-integration:<latest_version>'
// Survicate and UXCam libs you should already have
implementation 'com.survicate:survicate-sdk:<latest_version>'
implementation 'com.uxcam:uxcam:<latest_version>'
}
Note that for the plugin to function properly, the UXCam integration must be enabled in the Survicate panel. Also, it is essential that both the Survicate and UxCam SDKs have been initialized correctly as outlined in their respective documentation:
In order to activate the integration library, go to the place in your app where you initialize the Survicate SDK and register SurvicateUXCamIntegration
as an event listener:
Survicate.init(applicationContext)
Survicate.addEventListener(SurvicateUXCamIntegration())
That's it. You can use all UXCam and Survicate features as usual. Every survey answer will be automatically logged to the UXCam using the UXCam.logEvent
method.