-
-
Save hitherejoe/274821164af476deebc400d784d6ec05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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... | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is "cacheExpiration" in
firebaseRemoteConfig.fetch(cacheExpiration)