Skip to content

Flutter Web Flag Evaluation does not use Version name #240

@tpucci

Description

@tpucci

Describe the bug
Evaluating flags on the Web does not take into account the version name.

To reproduce

  • Create a flag that is available Semver >= the package version mentioned in version.json file that it is generated in the build process.
    (this is what is used internally by PackageInfo)
  • Evaluate this flag in a Web env
  • ❌ evaluated to false instead of true

Expected behavior
On Flutter Web, send to LaunchDarkly Streaming Flag Evaluation service the application info in order to correctly evaluate the flags.

Logs

SDK version

  launchdarkly_common_client: "1.7.0"
  launchdarkly_dart_common: "1.6.1"
  launchdarkly_event_source_client: "2.0.1"
  launchdarkly_flutter_client_sdk: "4.13.0"

Language version, developer tools

Flutter 3.38.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 19074d12f7 (5 weeks ago) • 2025-11-20 17:53:13 -0500
Engine • hash 8bf2090718fea3655f466049a757f823898f0ad1 (revision 13e658725d) (31 days ago) • 2025-11-20 20:19:23.000Z
Tools • Dart 3.10.1 • DevTools 2.51.1

OS/platform

All browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: flutter_client_sdkIssues that affect the flutter client SDK.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions