RemoteConfigHelper

class RemoteConfigHelper @Inject constructor(remoteConfig: FirebaseRemoteConfig)

Helper class for fetching data from RemoteConfig

Constructors

Link copied to clipboard
@Inject
constructor(remoteConfig: FirebaseRemoteConfig)

Functions

Link copied to clipboard
fun fetchData(failure: (Exception) -> Unit, success: FirebaseRemoteConfig.() -> Unit)

Fetch data from RemoteConfig

Link copied to clipboard

Get Boolean from RemoteConfig

Link copied to clipboard
fun getLong(key: String): Long

Get Double from RemoteConfig

Link copied to clipboard

Get String from RemoteConfig