You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I set the minimumFetchIntervalInSeconds value on the initialize method, it's not working for Android(The value is not setted so can't fetch de new values from Firebase Remote Config platform).
Try setting different values in minimumFetchIntervalInSeconds and compile for Android. You will see that these values are not setted. I mean, the Firebase Remote Config Console values are not setted in the app.
Expected behavior
I expect to get the new Firebase Remote Config Console values but they are not getted.
Smartphone (please complete the following information):
Device: Motorola Moto G9 Play
OS: Android 10
Possible Solution
I was debugging the app, and saw that in the FirebaseRemoteConfig.java file, line 58(Method initialize), there is the next line:
.setFetchTimeoutInSeconds(minFetchTimeInSecs)
I replaced that line for this, and the plugin worked perfectly:
.setMinimumFetchIntervalInSeconds(minFetchTimeInSecs)
It's setting the TimeOut value with the minFetchTimeInSect instead of setting the MinimumFetchIntervalInSeconds value.
Hope you can understand what I tried to explain. Please, let me know if you need me to explain anything else.
Best regards, Hernán!
The text was updated successfully, but these errors were encountered:
hfunescom
changed the title
minimumFetchIntervalInSeconds argument is not working in Android
minimumFetchIntervalInSeconds argument in the initialize() method is not working for Android
Jan 11, 2021
Describe the bug
When I set the minimumFetchIntervalInSeconds value on the initialize method, it's not working for Android(The value is not setted so can't fetch de new values from Firebase Remote Config platform).
Example:
FirebaseRemoteConfig.initialize({
minimumFetchIntervalInSeconds: 0,
})
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to get the new Firebase Remote Config Console values but they are not getted.
Smartphone (please complete the following information):
Possible Solution
I was debugging the app, and saw that in the FirebaseRemoteConfig.java file, line 58(Method initialize), there is the next line:
.setFetchTimeoutInSeconds(minFetchTimeInSecs)
I replaced that line for this, and the plugin worked perfectly:
.setMinimumFetchIntervalInSeconds(minFetchTimeInSecs)
It's setting the TimeOut value with the minFetchTimeInSect instead of setting the MinimumFetchIntervalInSeconds value.
Hope you can understand what I tried to explain. Please, let me know if you need me to explain anything else.
Best regards, Hernán!
The text was updated successfully, but these errors were encountered: