Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/fetch.java Secret
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

This comment has been minimized.

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
You can’t perform that action at this time.