Repository navigation
[Firebase_remote_config] not calling addOnConfigUpdateListener after network toggle #17898
Copy link
Copy link
Closed
Closed
Copy link
Labels
blocked: firebase-sdkplatform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: remote_configtype: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which plugins are affected?
Remote Config
Which platforms are affected?
Android, iOS
Description
When the device network is toggled off and then back on, the Firebase Remote Config event stream stops delivering onConfigUpdated events to the app. This happens every time. The event stream eventually resumes by itself after about 3–5 minutes
Reproducing the issue
- Launch app on device
- Listener will start
- Update remote config on console. app will receive update event
- Turn off wifi on device.
- Update remote config on console.
- Turn wifi on.
- Many time app receive event after 3-5 minutes.
- But if it stop receiving event. even after changing config multiple times app didn't receive event.
- We have waited for 5-10 min as well, same result.
Firebase Core version
3.8.1
Flutter Version
3.29.3
Relevant Log Output
Flutter dependencies
Dart SDK 3.7.2
Flutter SDK 3.29.3
remote_config_test 1.0.0+1
dependencies:
- cupertino_icons 1.0.8
- firebase_core 3.15.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_remote_config 5.5.0 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_bloc 8.1.6 [bloc flutter provider]
dev dependencies:
- flutter_lints 5.0.0 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math leak_tracker_flutter_testing async boolean_selector characters collection leak_tracker leak_tracker_testing material_color_utilities meta source_span stream_channel string_scanner term_glyph vm_service]
transitive dependencies:
- _flutterfire_internals 1.3.59 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.12.0 [collection meta]
- bloc 8.1.4 [meta]
- boolean_selector 2.1.2 [source_span string_scanner]
- characters 1.4.0
- clock 1.1.2
- collection 1.19.1
- fake_async 1.3.2 [clock collection]
- firebase_core_platform_interface 6.0.2 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.24.1 [firebase_core_platform_interface flutter flutter_web_plugins meta web]
- firebase_remote_config_platform_interface 2.0.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.8.9 [_flutterfire_internals firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math]
- leak_tracker 10.0.8 [clock collection meta path vm_service]
- leak_tracker_flutter_testing 3.0.9 [flutter leak_tracker leak_tracker_testing matcher meta]
- leak_tracker_testing 3.0.1 [leak_tracker matcher meta]
- lints 5.1.1
- matcher 0.12.17 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.11.1 [collection]
- meta 1.16.0
- nested 1.0.0 [flutter]
- path 1.9.1
- plugin_platform_interface 2.1.8 [meta]
- provider 6.1.5+1 [collection flutter nested]
- sky_engine 0.0.0
- source_span 1.10.1 [collection path term_glyph]
- stack_trace 1.12.1 [path]
- stream_channel 2.1.4 [async]
- string_scanner 1.4.1 [source_span]
- term_glyph 1.2.2
- test_api 0.7.4 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- vector_math 2.1.4
- vm_service 14.3.1
- web 1.1.1
Additional context and comments
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blocked: firebase-sdkplatform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: remote_configtype: bugSomething isn't workingSomething isn't working
Activity
[-]Remote Config not calling addOnConfigUpdateListener after network toggle[/-][+][remote_config]not calling addOnConfigUpdateListener after network toggle[/+][-][remote_config]not calling addOnConfigUpdateListener after network toggle[/-][+][remote_config] not calling addOnConfigUpdateListener after network toggle[/+][-][remote_config] not calling addOnConfigUpdateListener after network toggle[/-][+][Firebase_remote_config] not calling addOnConfigUpdateListener after network toggle[/+]hnim3002 commentedon Dec 5, 2025
This is my current code
MichaelVerdon commentedon Dec 5, 2025
Judging from what you are saying, this looks like intended behaviour. Are you saying you expect the event streaming to continue much quicker after a network toggle?
hnim3002 commentedon Dec 5, 2025
Hi @MichaelVerdon, based on further testing I found that the reconnection time can sometimes take more than 10 minutes.
I’m not sure whether this is considered a bug or not, but for a feature that is intended to provide real-time updates, being disconnected for that long after simply toggling Wi-Fi while not being able to manually trigger a reconnect doesn’t seem like expected behavior to me. There’s also a similar reported issue here: firebase/firebase-ios-sdk#15490.
SelaseKay commentedon Dec 8, 2025
Hi @hnim3002, thanks for the additional insight. Since a similar issue has been reported on the native Firebase repository, this appears to be a native-side problem and will require an upstream fix.
Lyokone commentedon Mar 3, 2026
Upstream from iOS SDK seems to have been closed as completed. I'll close this issue. Please update to the latest version of
firebase_coreto get the latest fixes.