Skip to content

Commit 893009c

Browse files
committed
docs(remote_config): update web support documentation for onConfigUpdated
1 parent ff46ef7 commit 893009c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/firebase_remote_config/firebase_remote_config/lib/src/firebase_remote_config.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ class FirebaseRemoteConfig extends FirebasePluginPlatform {
160160
/// Starts listening for real-time config updates from the Remote Config backend and automatically
161161
/// fetches updates from the RC backend when they are available.
162162
///
163-
/// This feature is not supported on Web.
163+
/// On web, you must call [fetchAndActivate] before listening to this stream. Events will only be
164+
/// received after an initial call to [fetchAndActivate].
164165
///
165166
/// If a connection to the Remote Config backend is not already open, calling this method will
166167
/// open it. Multiple listeners can be added by calling this method again, but subsequent calls

tests/integration_test/firebase_remote_config/firebase_remote_config_e2e_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ void main() {
138138

139139
await configSubscription.cancel();
140140
},
141-
// This feature is not supported on Web
142-
skip: kIsWeb,
143141
);
144142

145143
test('default values', () async {

0 commit comments

Comments
 (0)