-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Closed
Copy link
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: webIssues / PRs which are specifically for web.Issues / PRs which are specifically for web.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?
Web
Description
getAll method on web does not work on the new version of firebase_remote_config_web [1.10.0]
It seems that getValue method was broken in the last release 725a33a
getSource method expects the source to be passed, but now value of map is passed instead
Reproducing the issue
- Make sure firebase_remote_config: 6.1.1 and firebase_remote_config_web: 1.10.0 are installed
- Call the getAll method
- Run an app on web
Firebase Core version
4.1.1
Flutter Version
3.35.7
Relevant Log Output
DartError: UnimplementedError: {"ExampleKey":"example"}
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_
errors.dart:274
package:firebase_remote_config_web/src/interop/firebase_remote_config.dart 199:7 getSource
firebase_remote_config.dart:199
package:firebase_remote_config_web/src/interop/firebase_remote_config.dart 125:9 getValue
firebase_remote_config.dart:125
package:firebase_remote_config_web/src/interop/firebase_remote_config.dart 116:61 <fn>
firebase_remote_config.dart:116
dart-sdk/lib/internal/iterable.dart 420:20 moveNext
iterable.dart:420
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1277:20 next
operations.dart:1277
dart-sdk/lib/collection/maps.dart 89:14 addEntries
maps.dart:89
dart-sdk/lib/core/map.dart 216:13 <fn>
map.dart:216
dart-sdk/lib/core/map.dart 216:13 fromEntries
map.dart:216
package:firebase_remote_config_web/src/interop/firebase_remote_config.dart 118:12 getAll
firebase_remote_config.dart:118
package:firebase_remote_config_web/firebase_remote_config_web.dart 134:22 getAll
firebase_remote_config_web.dart:134
package:firebase_remote_config/src/firebase_remote_config.dart 95:22 getAll
firebase_remote_config.dart:95Flutter dependencies
Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
Mar-debug
Metadata
Metadata
Assignees
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: webIssues / PRs which are specifically for web.Issues / PRs which are specifically for web.plugin: remote_configtype: bugSomething isn't workingSomething isn't working