Skip to content

Commit

Permalink
Merge commit 'efb6a29a490ac84e8c93696ab09563df9dca6ecb' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
devrel-build committed May 16, 2017
2 parents 59856b1 + efb6a29 commit 6b697a2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ values in the Firebase console.

### Fetch values from the Remote Config service ###

When an app calls `fetchWithExpirationDuration:completionHandler`, cached
parameter values are used unless the last successful fetch occurred more than 12
hours ago, or unless a value less than 43200 (the number of seconds in 12 hours)
is specified for `TimeInterval`. If a cached value is not used, updated
parameter values are fetched from the Remote Config service.
When an app calls `fetchWithExpirationDuration:completionHandler`, updated
parameter values are fetched from the Remote Config service if either

* the last successful fetch occurred more than 12 hours ago, or
* a value less than 43200 (the number of seconds in 12 hours) is specified for
`TimeInterval`.

Otherwise, cached parameter values are used.

Fetched values are cached locally, but not immediately activated. To activate
fetched values so that they take effect, call the `activateFetched` method. In
Expand Down

0 comments on commit 6b697a2

Please sign in to comment.