I have problem to refresh remote config value in each seconds even i have set isDeveloperModeEnabled
to be true. Here is the code to refresh cache in each second, i want to refresh it immediately because for testing purpose:
firebaseRemoteConfig.fetch(1)
.addOnCompleteListener { task ->
if (task.isSuccessful) {
Log.d(TAG, "remote config is fetched.")
firebaseRemoteConfig.activateFetched()
}
}
and here i set developer mode becaome true:
val remoteConfig = FirebaseRemoteConfig.getInstance()
val configSettings = FirebaseRemoteConfigSettings.Builder()
.setDeveloperModeEnabled(BuildConfig.DEBUG)
.build()
remoteConfig.setConfigSettings(configSettings)
the problem is still i cannot refresh remote config value in each second even though i have set developer mode become true ? should i wait 12 hour to test it ?