fetch

actual suspend fun fetch(minimumFetchInterval: Duration?)(source)
expect suspend fun fetch(minimumFetchInterval: Duration? = null)(source)

Starts fetching configs, adhering to the specified minimum fetch interval.

The fetched configs only take effect after the next activate call.

Depending on the time elapsed since the last fetch from the Firebase Remote Config backend, configs are either served from local storage, or fetched from the backend.

Note: Also initializes the Firebase installations SDK that creates installation IDs to identify Firebase installations and periodically sends data to Firebase servers. Remote Config requires installation IDs for Fetch requests. To stop the periodic sync, call FirebaseInstallations.delete. Sending a Fetch request after deletion will create a new installation ID for this Firebase installation and resume the periodic sync.

Parameters

minimumFetchInterval

If configs in the local storage were fetched more than this long ago (rounded down to seconds), configs are served from the backend instead of local storage.

actual suspend fun fetch(minimumFetchInterval: Duration?)(source)
actual suspend fun fetch(minimumFetchInterval: Duration?)(source)
actual suspend fun fetch(minimumFetchInterval: Duration?)(source)