FIRRemoteConfigSettings


@interface FIRRemoteConfigSettings : 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

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval minimumFetchInterval;
  • 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

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval fetchTimeout;
  • Indicates whether Developer Mode is enabled.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isDeveloperModeEnabled;
  • 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

    Objective-C

    - (nonnull FIRRemoteConfigSettings *)initWithDeveloperModeEnabled:
        (BOOL)developerModeEnabled;