19

Firebase Remote Config activateFetched() is deprecated. What to use instead?

firebaseRemoteConfig.activateFetched();
Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Michalsx
  • 3,446
  • 5
  • 33
  • 46
  • 1
    You can usually find this information in the release notes, by searching for the method name. For example, this is the version that contains the information about `activateFetched()`'s removal: https://firebase.google.com/support/release-notes/android#version_1650 – Frank van Puffelen Aug 14 '19 at 14:15

3 Answers3

20

Use firebaseRemoteConfig.activate(); instead. See documentation https://firebase.google.com/docs/reference/android/com/google/firebase/remoteconfig/FirebaseRemoteConfig.html#activate()

michaelitoh
  • 2,317
  • 14
  • 26
9

Use activate() instead.

firebaseRemoteConfig.activate();

I had to search for this. I hope it helps others.

Michalsx
  • 3,446
  • 5
  • 33
  • 46
0

Use This.

RemoteConfig.remoteConfig().activate(completion: nil)

Avneesh Agrawal
  • 916
  • 6
  • 11