Created
July 29, 2019 21:10
-
-
Save orospakr/90fd2b147785f8641502d612f61f87c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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