Content-Length: 290779 | pFad | https://github.com/flutter/flutter/issues/151560

42 [tool] GA4 Analytics events are sent when running devicelab tests locally · Issue #151560 · flutter/flutter · GitHub
Skip to content

[tool] GA4 Analytics events are sent when running devicelab tests locally #151560

@andrewkolos

Description

@andrewkolos

Discovered while working on #151518 (details).

Repro

  • Enable analytics/telemetry with flutter --enable-analytics
  • Clear/delete your local analytics log file, this is usually stored in <home directory>/.dart-tool/dart-flutter-telemetry.log. We'll use this file later to see what analytics events were sent.
  • Run a devicelab test locally. See dev/devicelab/README.md for full instructions, though I will provide steps here
    • In a terminal navigate to dev/devicelab.
    • Run a devicelab test that invokes flutter (probably all of them). On my macOS machine that's iOS-development ready, I ran ../../bin/cache/dart-sdk/bin/dart bin/test_runner.dart test -t native_assets_ios_simulator.

Expected behavior

Since this is a devicelab test, we should not send any analytics events regardless of whether analytics is enabled on the host machine.

Observed behavior

Open your dart-flutter-telemetry.log and search for "tool":{"value":"flutter-tool"}. This will be contained in flutter tool analytics events that will be sent off. Notice that there will be several events logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/151560

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy