LogoSignature Service
SmartContract SDKiOS SDK

Dynamic configuration

The server can provide application properties that change the application's behaviour without requiring an app update. They are retrieved during successful session establishment.

Use the public SSCSessionService API after the session has opened:

@import SENSESmartContract;

NSDictionary *properties = [SSCSessionService getConfigProperties];
id value = properties[@"example-feature-enabled"];
if ([value isKindOfClass:[NSNumber class]]) {
    BOOL enabled = [(NSNumber *)value boolValue];
    // Apply the feature setting to the application.
    (void)enabled;
}

example-feature-enabled is an example key; use the keys agreed for your deployment. The dictionary is empty when no properties are configured. Validate each value's type and supply application defaults for missing keys.

These server-provided properties are distinct from SSCConfiguration, which configures the SDK's endpoints, license and HTTP behaviour before a session opens. See Installation.