Skip to content

[remote_config]: UnimplementedError on web when the getAll method is called #17846

@ArkhipenkaPiotr

Description

@ArkhipenkaPiotr

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

  1. Make sure firebase_remote_config: 6.1.1 and firebase_remote_config_web: 1.10.0 are installed
  2. Call the getAll method
  3. 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:95

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions