Skip to content

[📚] PerfMon still doesn't support Dart only initialization is not mentioned in getting started section #8477

@debkanchan

Description

@debkanchan

Problem

Performance Monitoring still doesn't support Dart only initialization. This is not mentioned in the newly updated (#8448) getting started section giving an illusion everything supports Dart only Initialization.

It is when we go into performance monitoring docs that the fact is mentioned.
Screenshot 2022-04-17 at 4 39 06 PM

Where previously it was mentioned in the getting started section like this:
Screenshot 2022-04-17 at 4 34 20 PM

Consequences

While migrating my code to dart only initialization executing flutter run ALWAYS throws
Error connecting to the service protocol: failed to connect to http://127.0.0.1:50769/a3uk2dDx_Hw=/.

Running flutter run -v made me think the culprit was Crashlytics due to the line:
Crashlytics could not find Google Services plugin task: processReleaseGoogleServices. Make sure com.google.gms.google-services is applied BEFORE com.google.firebase.crashlytics. If you are not using the Google Services plugin, you must explicitly declare googleServicesResourceRoot inputs for Crashlytics upload tasks.

It is only after doing a binary search on all the dependencies in a fresh project that I was able to pinpoint it's a perf-mon issue only to go into perf-mon docs to find the warning

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions