I'm currently trying Firebase Remote Config on Android. I gave a parameter a value: 2.2 but when I run an app it prints 2.0 for no reason in Logcat.
here is my code:
initialization:
private FirebaseRemoteConfig mRemoteConfig = FirebaseRemoteConfig.getInstance();
Setting defaults:
mRemoteConfig.setDefaults(hashMap);
Fetching:
mRemoteConfig.setConfigSettings(new FirebaseRemoteConfigSettings.Builder().setDeveloperModeEnabled(true).build());
Getting double from remote config:
double code = mRemoteConfig.getDouble("code");
What I have done wrong?