A thin library designed for seamless integration between Survicate and UXCam on iOS. It automatically sends survey answers coming from Survicate SDK as UXCam events that can be previewed directly in the UXCam panel.
To integrate Survicate UXCam integration into your Xcode project using Swift Package Manager, specify it in your Package.swift
file:
dependencies: [
.package(url: "https://github.com/Survicate/survicate-uxcam-integration-ios", from: "1.2.0")
]
survicate-uxcam-integration is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'survicate-uxcam-integration'
Note that both Survicate and UXCam SDKs are added as dependencies to this package, so you don't need to add them manually.
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:
import Survicate
import survicate_uxcam_integration
SurvicateSdk.shared.initialize()
SurvicateSdk.shared.addListener(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.