[馃悰] 馃敟 remote config method fetchAndActivate()
inconsistent with method fetch()
and then activate()
on iOS only
#7779
Labels
Help: Needs Triage
Issue needs additional investigation/triaging.
Impact: Bug
New bug report
Platform: iOS
Service: Remote Config
Firebase Remote Config
Workflow: Needs Review
Pending feedback or review from a maintainer.
Issue
If you call
await fetchAndActivate()
remote config method on iOS it always returns atrue
value, even when new values were not fetched from the remote. This value contradicts the value returned byactivate()
when values were not fetched. A code snipped below can be used to test this:This results in the following output in the console:
Project Files
Javascript
Click To Expand
package.json
:# N/A
firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:AppDelegate.mm
:Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:^19.2.2
Firebase
module(s) you're using that has the issue:remote config
TypeScript
?Y
&5.0.4
The text was updated successfully, but these errors were encountered: