FirebaseRemoteConfig.activateFetched() is deprecated. What to use instead?
Asked Answered
C

3

19

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

firebaseRemoteConfig.activateFetched();
Coarse answered 14/8, 2019 at 12:39 Comment(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: firebase.google.com/support/release-notes/android#version_1650Perth
K
20

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

Kristakristal answered 14/8, 2019 at 12:40 Comment(0)
C
9

Use activate() instead.

firebaseRemoteConfig.activate();

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

Coarse answered 14/8, 2019 at 12:40 Comment(1)
This is a duplicate answer.Scutellation
C
0

Use This.

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

Citrus answered 2/11, 2020 at 13:19 Comment(1)
This is a duplicate answer.Scutellation

© 2022 - 2024 — McMap. All rights reserved.