Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created October 4, 2016 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/274821164af476deebc400d784d6ec05 to your computer and use it in GitHub Desktop.
Save hitherejoe/274821164af476deebc400d784d6ec05 to your computer and use it in GitHub Desktop.
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