Skip to content

Commit

Permalink
Fix RemoteConfig ActivateFetched
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Dorgans committed May 16, 2018
1 parent b2a2ee7 commit c250eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/RemoteConfig/RemoteConfig+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ extension Reactive where Base: RemoteConfig {

/// Fetches Remote Config data with a callback. Call activateFetched to make fetched data available
/// to your app.
/// @param activateFetched Make fetched data available to your app.
/// @param completionHandler Fetch operation callback.
public func fetch(activateFetched: Bool = false) -> Observable<RemoteConfigFetchStatus> {
return Observable<RemoteConfigFetchStatus>.create { observer in
Expand All @@ -32,9 +33,9 @@ extension Reactive where Base: RemoteConfig {
}

/// Fetches Remote Config data and sets a duration that specifies how long config data lasts.
/// Call activateFetched to make fetched data available to your app.
/// @param expirationDuration Duration that defines how long fetched config data is available, in
/// seconds. When the config data expires, a new fetch is required.
/// @param activateFetched Make fetched data available to your app.
/// @param completionHandler Fetch operation callback.
public func fetch(withExpirationDuration duration: TimeInterval, activateFetched: Bool = false) -> Observable<RemoteConfigFetchStatus> {
return Observable<RemoteConfigFetchStatus>.create { observer in
Expand Down

0 comments on commit c250eef

Please sign in to comment.