RemoteConfigSettings

class RemoteConfigSettings : NSObject

Firebase Remote Config settings.

  • Indicates the default value in seconds to set for the minimum interval that needs to elapse before a fetch request can again be made to the Remote Config backend. After a fetch request to the backend has succeeded, no additional fetch requests to the backend will be allowed until the minimum fetch interval expires. Note that you can override this default on a per-fetch request basis using -[FIRRemoteConfig fetchWithExpirationDuration:completionHandler]. For E.g. setting the expiration duration to 0 in the fetch request will override the minimumFetchInterval and allow the request to the backend.

    Declaration

    Swift

    var minimumFetchInterval: TimeInterval { get set }
  • Indicates the default value in seconds to abandon a pending fetch request made to the backend. This value is set for outgoing requests as the timeoutIntervalForRequest as well as the timeoutIntervalForResource on the NSURLSession’s configuration.

    Declaration

    Swift

    var fetchTimeout: TimeInterval { get set }
  • Indicates whether Developer Mode is enabled.

    Declaration

    Swift

    var isDeveloperModeEnabled: Bool { get }
  • Initializes FIRRemoteConfigSettings, which is used to set properties for custom settings. To make custom settings take effect, pass the FIRRemoteConfigSettings instance to the configSettings property of FIRRemoteConfig.

    Declaration

    Swift

    init(developerModeEnabled: Bool)