Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Foundation
import RoverCampaigns
@objcMembers @objc
public class RoverWrapper : NSObject {
public static func startRover() {
// The following is the same as you have seen in the Rover documentation:
// Initialize Rover Campagins with its modules
RoverCampaigns.initialize(assemblers: [
FoundationAssembler(),
DataAssembler(accountToken: "YOUR_SDK_TOKEN"),
UIAssembler(),
NotificationsAssembler(),
LocationAssembler(),
DebugAssembler()
])
}
// continue with making wrapper functions as needed here.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment