Skip to content

Add breaking change page for removing support for setting Flutter Android engine arguments via Intent extras#13443

Draft
camsim99 wants to merge 1 commit into
mainfrom
intent_breaking_change_page
Draft

Add breaking change page for removing support for setting Flutter Android engine arguments via Intent extras#13443
camsim99 wants to merge 1 commit into
mainfrom
intent_breaking_change_page

Conversation

@camsim99

Copy link
Copy Markdown
Contributor

Description of what this PR is changing or adding, and why:
Adds a breaking change page for a feature soon to be removed on Flutter Android: setting engine flags via Intent extras when launching a Flutter Android component. I wish to land this page before support is removed so that helpful errors can point to this page that tells developers how to migrate. See issue below for more details on why we are removing support.

Issues fixed by this PR (if any):
Part of flutter/flutter#180686.

PRs or commits this PR depends on (if any):
flutter/flutter#180591 must land first.

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 34ff488):

https://flutter-docs-prod--docs-pr13443-intent-breaking-change-12fih23b.web.app

@sfshaza2 sfshaza2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I know this is a draft but lgtm!

### Option 1: Configure statically in AndroidManifest.xml

Set flags inside the `<application>` tag of your `AndroidManifest.xml` file.
All supported flags, their manifest keys, and whether or not they are allowed in release mode can be found in [`FlutterEngineFlags.java`][].

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
All supported flags, their manifest keys, and whether or not they are allowed in release mode can be found in [`FlutterEngineFlags.java`][].
All supported flags, their manifest keys, and whether or not they are allowed
in release mode can be found in [`FlutterEngineFlags.java`][].

@sfshaza2

sfshaza2 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

(Just add that one line break...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants