Magify Service agruments
This describes additional settings that you can pass at runtime.
You don't have to use all of these fields. Some fields are exclusive to the advanced version of Magify SDK and are marked accordingly.
Main
| Setting | Description |
|---|---|
| CustomClientId | Allows you to set a custom value for the user ID if you need to integrate the SDK with your own solution. More info here: CustomClientId |
| IsSandbox | Allows testing in an isolated environment without interfering with production data. Ensure the property is set to false before publishing application. Be careful when configuring entities and viewing analytics on the Magify web dashboard, and don't forget to switch to Sandbox when working with test data. |
| Is Logging Enabled | Turns all SDK logs on or off. false turns off all of them, errors included. Change it using MagifyService.IsLoggingEnabled. |
| Log Mode | Which SDK logs are written. LogMode.Production (default): only the warning about an invalid custom event name. LogMode.Debug: all SDK logs. Add MAGIFY_VERBOSE_LOGGING to see detailed logs (remove it for production). Change it using MagifyManager.Logging.LogMode. |
| Is Gdpr Applied | State of user consent to GDPR. Default is false if null or no saved value exists. |
| Is Att Authorized | State of user consent to ATT. Default is false if null or no saved value exists. |
| CustomAndroidId | Allows to pass custom android id. For debugging reasons. MAGIFY_DEBUG define symbols are required. |
| CustomBuildNumber | Allows to pass custom application build number. For debugging reasons. MAGIFY_DEBUG define symbols are required. |
| CustomAppVersion | Allows to pass custom application version. For debugging reasons. MAGIFY_DEBUG define symbols are required. |
Advanced
| Setting | Description |
|---|---|
| Editor Moq | Use it for emulating some specific campaigns in editor. More info here: Campaigns handling |
| Popups Provider | You can use this property to configure your custom class, which will be used to find and create popup-objects. Default class: ResourcesPopupsProvider. |
| Purchase Verification Handler | Allows you to control purchase verification. Can be changed using MagifyService.ExternalPurchaseVerificationHandler. |
| Remote Config Scopes | Allows control over scopes of config loaded with requests. Change using MagifyService.RemoteConfigScopes. |
| Enable Stored App Features Preloading | Enables background loading of stored app features. Change using MagifyService.StoredAppFeaturesPreloadingEnabled. |
| Sync State Enabled | Enables or disables sync state (app progress sync). |
| Client State Config | Configuration for saving and restoring client state. |
| Editor Config Mode | Defines the platform simulated in the Unity editor. Affects some config/context logic. |
| Is Developer Mode | If you want to use only mock settings, enable this flag. |