MagifyConfig
Overview
Allows you to configure the parameters with which Magify Manager will be initialized.
General Settings
AppNameIOS
string AppNameIOS { get; init; }
Short name of the Magify application for iOS.
ConfigPathIOS
string ConfigPathIOS { get; init; }
Path in StreamingAssets to the default application config JSON for the current version for iOS.
AppNameGP
string AppNameGP { get; init; }
Short name of the Magify application for Android.
ConfigPathGP
string ConfigPathGP { get; init; }
Path in StreamingAssets to the default application config JSON for the current version for Android.
ClientStateConfig
ClientStateConfig ClientStateConfig { get; init; }
Configuration used to save and restore client state.
CustomClientId
[Obsolete]
string CustomClientId { get; init; }
SkipClientIdFromCloudLoading
SkipClientIdFromCloudLoading { get; init; } = false;
Allows to pass loading of ClientId from native cloud storage
ClientIdFromCloudLoadingTimeout
ClientIdFromCloudLoadingTimeout { get; init; } = 30;
Allows to set timeout for loading of ClientId from native cloud storage (in seconds)
IsAutoRestoreStateEnabled
IsAutoRestoreStateEnabled { get; init; } = true;
Enables or disables automatic state restoring
SDK Behavior
UseAdvancedVersion
bool UseAdvancedVersion { get; init; }
Indicates whether the full SDK functionality is enabled.
PresenterSettings
IPresenterSettings PresenterSettings { get; init; }
Settings for the Magify presenter canvas.
Environment
[Obsolete]
Environment Environment { get; init; }
IsSandbox
bool IsSandbox { get; init; }
Allows testing in an isolated environment without interfering with production data. Ensure the property is set to false before publishing application.
RemoteConfigScopes
ConfigScope RemoteConfigScopes { get; init; }
Defines remote configuration scopes. Can be changed later using MagifyManager.RemoteConfigScopes.
SyncStateEnabled
bool? SyncStateEnabled { get; init; }
Enables or disables user progress/application state sync. If null, the default or previously saved value is used.
SubscriptionStatus
SubscriptionStatus SubscriptionStatus { get; init; }
Default subscription status. Can be changed later using MagifyManager.SubscriptionStatus.
AuthorizationStatus
AuthorizationStatus AuthorizationStatus { get; set; }
Default authorization status. Can be changed later using MagifyManager.AuthorizationStatus.
Privacy & Compliance
IsGdprApplied
bool? IsGdprApplied { get; set; }
State of user consent to GDPR. If null, the default or previously saved value is used. Can be changed later using MagifyManager.TrackGdprAccessState.
IsAttAuthorized
bool? IsAttAuthorized { get; set; }
State of user consent to ATT. If null, the default or previously saved value is used. Can be changed later using MagifyManager.SetAttStatus.
RevenuePerCountryPath
[Obsolete]
string RevenuePerCountryPath { get; init; }
RevenueLevelsPath
[Obsolete]
string RevenueLevelsPath { get; init; }
DefaultCurrencyRatesPath
[Obsolete]
string DefaultCurrencyRatesPath { get; init; }
SubscriptionMultipliersPath
[Obsolete]
string SubscriptionMultipliersPath { get; init; }
Debugging
IsLoggingEnabled
bool IsLoggingEnabled { get; init; }
Turns all SDK logs on or off. Default is true. false turns off all of them, warnings and errors included. Can be changed later using MagifyManager.Logging.IsLoggingEnabled.
LogMode
LogMode LogMode { get; init; }
Which SDK logs are written. LogMode.Production (default) writes only the warning about an invalid custom event name. LogMode.Debug writes all SDK logs. Can be changed later using MagifyManager.Logging.LogMode.
EditorMoq
MagifyEditorMoq EditorMoq { get; init; }
Used for emulating campaigns in the editor.
IsDeveloperMode
bool IsDeveloperMode { get; init; }
Indicates whether developer mode is enabled.
EditorDevice
EditorDevice EditorDevice { get; init; }
Used for emulating a device in the editor.