MoEngageSDKConfig
public class MoEngageSDKConfig: NSObject
MoEngage SDK Configuration class
-
Account identifier, APP ID on the MoEngage Dashboard.
Declaration
Swift
public private(set) var appId: String = ""
-
Set the data-center to which the data should flow.
Declaration
Swift
public var moeDataCenter = MoEngageDataCenter.data_center_01
-
Set the App group id to share the data between app target and extensions
Declaration
Swift
public var appGroupID = ""
-
Interval at which events are flushed to MoEngage backend. Minimum value is 60.
Declaration
Swift
public var analyticsPeriodicFlushDuration = 60
-
Bool to disable to periodic flush of events.
Declaration
Swift
public var analyticsDisablePeriodicFlush = false
-
Configuration for InApp Campaigns.
Declaration
Swift
public var inAppConfig: MoEngageInAppConfig = MoEngageInAppConfig.defaultConfig()
-
Configuration for SDK Storage
Declaration
Swift
public var storageConfig = MoEngageStorageConfig.defaultConfig()
-
Configuration for storing the items in keychain
Declaration
Swift
public var keyChainConfig = MoEngageKeyChainConfig.defaultConfig()
-
Configuration for User Registration
Declaration
Swift
public var userRegistrationConfig: MoEngageUserRegistrationConfig = MoEngageUserRegistrationConfig.defaultConfig()
-
Configuration for Network Request.
Declaration
Swift
public var networkConfig = MoEngageNetworkRequestConfig.defaultConfig()
-
Configuration for Console Log
Declaration
Swift
public var consoleLogConfig = MoEngageConsoleLogConfig.defaultConfig()
-
Configuration for Environment
-
Configuration for custom host Optionally set the custom data center host to which data should flow.
-
Configuration for custom scheme Optionally set the custom data center scheme to which data should flow.
-
Configuration for custom port Optionally set the custom data center port to which data should flow.
-
Initialize instance of MoEngageSDKConfig
Declaration
Swift
public init(appId: String, dataCenter: MoEngageDataCenter)
Parameters
appId
Account identifier, APP ID on the MoEngage Dashboard.
dataCenter
The dashboard on which you have created your account.