Data Integrations and Customization
Adobe Experience Platform Integration
Rover includes support for integrating with the Adobe Experience Platform. This will allow your team to surface some Adobe Experience information within the Rover Audience and Campaigns tools.
The integration is indirect; you provide the Experience Cloud ID (ECID) and integrate the Rover SDK into your app, and write a little bit of glue code.
Experience Cloud ID (ECID)
When using the Adobe Experience Platform SDK, Rover makes use of the ECID, which is available with the Identity Module. The Mobile Core and Identity modules are required in order to integrate with the Rover SDK.
Installing the Module
iOS
Add the "RoverAdobeExperience" package product module to your app using SwiftPM (review the Install page for details).
When initilizing the Rover SDK, add the import for RoverAdobeExperience
then add AdobeExperienceAssembler
to the list of assemblers:
...
import RoverAdobeExperience
...
Rover.initialize(assemblers: [
...
AdobeExperienceAssembler(),
...
])
Next, provide the Rover SDK with an ECID:
Identity.getExperienceCloudId { (ecid, error) in
if let error = error {
// Handle the error here
return
}
if let ecid = ecid {
Rover.shared.adobeExperienceAuthorizer.setECID(ecid)
}
}
The credentials may be cleared, as approriate, with the following code:
Rover.shared.adobeExperienceAuthorizer.clearCredentials()
Android
Add the Rover Adobe Experience module to your Gradle dependencies:
implementation "io.rover.sdk:adobeMobile:4.8.0"
When initilizing the Rover SDK, add the import for the AdobeExperienceAssembler
then add it to the list of assemblers:
...
import io.rover.sdk.adobeExperience.AdobeExperienceAssembler
...
Rover.initialize(
...,
AdobeExperienceAssembler(),
...
)
Next, provide the Rover SDK with an ECID. This can be done on app launch, or when an ECID is generated.
Identity.getExperienceCloudId { ecid ->
Rover.shared.adobeExperienceAuthorizer.setECID(ecid)
}
The credentials may be cleared, as approriate.
Rover.shared.adobeExperienceAuthorizer.clearCredentials()