Below is my code,Even I am getting false value for task.result .Anybody please can help me?
val mFirebaseRemoteConfig = FirebaseRemoteConfig.getInstance()
val configSettings = FirebaseRemoteConfigSettings.Builder()
.setMinimumFetchIntervalInSeconds(3600)
.setFetchTimeoutInSeconds(60)
.build()
mFirebaseRemoteConfig.setConfigSettingsAsync(configSettings)
//---defult value
mFirebaseRemoteConfig.setDefaultsAsync(R.xml.remote_config_defaults)
CodePudding user response:
Can you provide more details?
If you are an Android developer and using Android Studio, you can integrate with Firebase RC easily with a few clicks.
To investigate the problem, you should check:
- whether your RC is setting correctly
- If you keeps getting the default values, it might be the app's signals don't match the condition you set in the RC template.