commonMain.dev.gitlive.firebase.remoteconfig.FirebaseRemoteConfigSettings.kt Maven / Gradle / Ivy
Go to download
The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. It's API is similar to the Firebase Android SDK Kotlin Extensions but also supports multiplatform projects, enabling you to use Firebase directly from your common source targeting iOS, Android or JS.
package dev.gitlive.firebase.remoteconfig
private const val CONNECTION_TIMEOUT_IN_SECONDS = 60L
// https://firebase.google.com/docs/remote-config/get-started?hl=en&platform=android#throttling
private const val DEFAULT_FETCH_INTERVAL_IN_SECONDS = 12 * 3600L
data class FirebaseRemoteConfigSettings(
var fetchTimeoutInSeconds: Long = CONNECTION_TIMEOUT_IN_SECONDS,
var minimumFetchIntervalInSeconds: Long = DEFAULT_FETCH_INTERVAL_IN_SECONDS,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy