MoEngageWorkspaceEnvironment
@objc
public enum MoEngageWorkspaceEnvironment : UInt
Specifies the environment to use for MoEngage SDK configuration.
This enum allows developers to explicitly control which environment (test or live) the SDK should use, regardless of the settings in the Info.plist file.
Note
Using an explicit environment setting overrides any environment configuration specified in the Info.plist file.-
Uses the environment setting specified in the Info.plist file.
When this option is selected, the SDK will read the
IsTestEnvironment
value from the MoEngage configuration in the Info.plist file to determine which environment to use.Declaration
Swift
case `default` = 0
-
Explicitly use the live (production) environment.
When this option is selected, the SDK will use the live environment regardless of what is specified in the Info.plist file.
Declaration
Swift
case live
-
Explicitly use the test (development) environment.
When this option is selected, the SDK will use the test environment regardless of what is specified in the Info.plist file.
Declaration
Swift
case test