-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
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.

Where previously it was mentioned in the getting started section like this:

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