Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created Oct 4, 2016
Embed
What would you like to do?
firebaseRemoteConfig.fetch(cacheExpiration)
.addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task) {
if (task.isSuccessful()) {
mFirebaseRemoteConfig.activateFetched();
// We got our config, let's do something with it!
} else {
// Looks like there was a problem getting the config...
}
}
});
@shahzad1
Copy link

shahzad1 commented Nov 8, 2019

What is "cacheExpiration" in firebaseRemoteConfig.fetch(cacheExpiration)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment