Flutter already tracks AGP version here.
|
_analytics.send( |
|
Event.flutterBuildInfo( |
|
label: successEventLabel, |
|
buildType: 'gradle', |
|
settings: 'androidGradlePluginVersion: $agpVersion', |
|
), |
However, it would be more useful to have a single structured telemetry event that contains all the Android dependency versions we care about (Gradle, AGP, KGP, min/target/compile SDK, JDK, NDK, etc), on both failures and errors.
This requires a new unified_analytics event, like this:
dart-lang/tools#2062
Then adoption, like this:
#166773
Then add a dashboard, see go/flutter-dash-guide (internal Google link)
Flutter already tracks AGP version here.
flutter/packages/flutter_tools/lib/src/android/gradle.dart
Lines 402 to 407 in dfd92b7
However, it would be more useful to have a single structured telemetry event that contains all the Android dependency versions we care about (Gradle, AGP, KGP, min/target/compile SDK, JDK, NDK, etc), on both failures and errors.
This requires a new unified_analytics event, like this:
dart-lang/tools#2062
Then adoption, like this:
#166773
Then add a dashboard, see go/flutter-dash-guide (internal Google link)