Data Integrations and Customization
AXS Integration
Rover includes support for integrating with the AXS SDK. This will allow your team to surface some ASK SDK information within the Rover Audience and Campaigns tools.
The integration is indirect; you provide the AXS User ID and integrate the Rover SDK into your app, and write a little bit of glue code.
Installing the Module
iOS
Add the "RoverAxs" package product module to your app using SwiftPM (review the Install page for details).
When initilizing the Rover SDK, add the import for RoverAxs
then add AxsAssembler
to the list of assemblers:
...
import RoverAxs
...
Rover.initialize(assemblers: [
...
AxsAssembler(),
...
])
Next, provide the Rover SDK with an AXS user ID:
Rover.shared.axsAuthorizer.setUserId(userId)
The CRM credentials may be cleared, as approriate, with the following code:
Rover.shared.axsAuthorizer.clearCredentials()
Android
Add the Rover AXS module to your Gradle dependencies:
implementation "io.rover.sdk:axs:4.8.0"
When initilizing the Rover SDK, add the import for the AxsAssembler
then add it to the list of assemblers:
...
import io.rover.sdk.axs.AxsAssembler
...
Rover.initialize(
...
AxsAssembler(),
...
)
Next, provide the Rover SDK with a AXS user ID. This can be done when the user signs in with AXS or links an existing account and on app launch if the user is already signed in.
Rover.shared.axsAuthorizer.setUserId(userID)
The user ID credentials may be cleared, as approriate. Logging out of the AXS account is a good time to do this.
Rover.shared.axsAuthorizer.clearCredentials()