Skip to content

[image_picker] Remove usesCleartextTraffic#11076

Merged
auto-submit[bot] merged 5 commits intoflutter:mainfrom
mboetger:remove-uses-cleartext-traffic-image-picker
Feb 19, 2026
Merged

[image_picker] Remove usesCleartextTraffic#11076
auto-submit[bot] merged 5 commits intoflutter:mainfrom
mboetger:remove-uses-cleartext-traffic-image-picker

Conversation

@mboetger
Copy link
Contributor

Removes deprecated usesCleartextTraffic.

Addresses: #182553

Pre-Review Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] page, which explains my responsibilities.
  • I read and followed the [relevant style guides] and ran [the auto-formatter].
  • I signed the [CLA].
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I [linked to at least one issue that this PR fixes] in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or I have commented below to indicate which [version change exemption] this PR falls under[^1].
  • I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style], or I have commented below to indicate which [CHANGELOG exemption] this PR falls under[^1].
  • I updated/added any relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or I have commented below to indicate which [test exemption] this PR falls under[^1].
  • All existing and new tests are passing.

@mboetger mboetger requested a review from tarrinneal as a code owner February 19, 2026 18:41
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the android:usesCleartextTraffic="true" attribute from the debug AndroidManifest.xml in the image_picker example app. This change disables cleartext network traffic for debug builds, ensuring that the application follows secure network communication defaults by requiring encrypted (HTTPS) connections. The removal is a standard security improvement and aligns the debug configuration with the main manifest's security posture.

@stuartmorgan-g
Copy link
Collaborator

test-exempt: configuration change

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM

@mboetger
Copy link
Contributor Author

No changelog needed: configuration change for example app.

@mboetger mboetger added override: no changelog needed Override the check requiring CHANGELOG updates for most changes autosubmit Merge PR when tree becomes green via auto submit App labels Feb 19, 2026
@auto-submit
Copy link
Contributor

auto-submit bot commented Feb 19, 2026

autosubmit label was removed for flutter/packages/11076, because - The status or check suite Linux repo_checks has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Feb 19, 2026
@mboetger mboetger added override: no versioning needed Override the check requiring version bumps for most changes autosubmit Merge PR when tree becomes green via auto submit App labels Feb 19, 2026
@auto-submit auto-submit bot merged commit 5b11e4b into flutter:main Feb 19, 2026
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: image_picker platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments