Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Jan 30, 2025

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

flutter/flutter#156262

Changelog Description:

Explain this cherry pick in one line that is accessible to most Flutter developers. See best practices for examples

Adds a meta generator tag to Flutter web apps, for attribution.

Impact Description:

What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)

This is needed for AdSense attribution.

Workaround:

Is there a workaround for this issue?

Users may be able to add the meta-tag manually, but they have no incentive to do so.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes
  • No

Validation Steps:

What are the steps to validate that this fix works?

Deploy a Flutter web app, and check that the meta tag gets added to the DOM of the page when it starts.

Adds a `meta name="generator" content="Flutter"` tag when the engine UI initializes.

## Issues

Fixes flutter/flutter#156262

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
@flutteractionsbot flutteractionsbot added the cp: review add the cp request to the review queue of release engineers label Jan 30, 2025
@flutteractionsbot
Copy link
Author

@ditman please fill out the PR description above, afterwards the release team will review this request.

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Jan 30, 2025
@ditman
Copy link
Member

ditman commented Jan 30, 2025

Done!

@ditman ditman requested a review from mdebbar January 30, 2025 20:41
Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

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

LGTM, but I think we need a review from the release team.

@ditman
Copy link
Member

ditman commented Jan 30, 2025

I also need to edit the CHANGELOG.md file in this PR, according to step 5 of the instructions. (this is for post-monorepo CPs, maybe not this one)

@ditman ditman closed this Jan 30, 2025
@ditman ditman reopened this Jan 30, 2025
@eyebrowsoffire
Copy link
Contributor

This ended up getting into the 3.29 stable without a cherrypick. So I'm closing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cp: review add the cp request to the review queue of release engineers platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants