Skip to content

Conversation

@eliasyishak
Copy link
Contributor

Related to tracker issue:

This PR will use the new event from package:unified_analytics and will consolidate the 3 separate send events from the legacy analytics system to just sending one

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Nov 14, 2023
Comment on lines +90 to +92
if (packageLanguageVersion != null &&
packageLanguageVersion.major >= nullSafeVersion.major &&
packageLanguageVersion.minor >= nullSafeVersion.minor) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct? This logic for calculating total number of migrated packages was taken from here

I think we should be able to just compare two LanguageVersion classes together instead of comparing the major and minor versions

@eliasyishak
Copy link
Contributor Author

No longer necessary to migrate this event per dart-lang/tools#202 (comment)

@eliasyishak eliasyishak deleted the ga4-migrate-null-safety-analysis-event branch November 14, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant