Commit Graph

5 Commits

Author SHA1 Message Date
stuartmorgan-g
0b3a6b402e [url_launcher] Update for UIScene compatibility (#10549)
Replaces the code that attempted to find the topmost presented view controller as the context for presenting a Safari view controller with a call to the new registrar API to get the Flutter view's controller.

Since it's now possible for there not to be a view controller, adds an exception for that case. This should only be possible in an add-to-app scenario where someone tries to show an in-app URL from a Flutter view that is not being displayed, which is an unlikely enough scenario that I'm not going to consider this a breaking change.

Fixes https://github.com/flutter/flutter/issues/174415

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
2025-12-03 19:54:54 +00:00
stuartmorgan-g
7ebd635db5 [various] Update min iOS/macOS versions (#10231)
For all packages that have not already done so:
- Ensure that the minimum iOS version is 13.
- Ensure that the minimum macOS version is 10.15.
- Ensure that the minimum Flutter SDK version in 3.35 for anything with changes from the above.

In https://github.com/flutter/packages/pull/9849 I did the iOS plugins that had conditional logic for iOS <13, but I forgot to follow up with updating the minimum for the plugins that didn't have conditional logic.

Because this changes min Dart SDKs, it causes autoformat changes. There are no actual code changes in this PR; all Dart file changes are purely the result of re-running `dart format`.

This does bump the versions, even though repo policy would allow skipping version bumps for only changing min requirements, just to avoid conflating all the changes here with future releases.

Part of https://github.com/flutter/flutter/issues/167735
Part of https://github.com/flutter/flutter/issues/167745

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
2025-10-18 12:38:24 +00:00
auto-submit[bot]
9d5f3917f3 Reverts "[ci] Remove in_app_purchase_storekit from Xcode analyzer exclusion list (#9429)" (#9507)
Reverts: flutter/packages#9429
Initiated by: jmagman
Reason for reverting: This somehow passed in presubmit but failed in postsubmit: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8710980990085669745/+/u/Run_package_tests/xcode_analyze_deprecation/stdout
Original PR Author: jmagman

Reviewed By: {LouiseHsu}

This change reverts the following previous change:
StoreKit2 is now the default and https://github.com/flutter/flutter/issues/116383 is closed. Let's remove it from the deprecation exclusion list to ensure we get new deprecation warnings.

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
2025-06-26 19:13:48 +00:00
Jenn Magder
d76cf6805b [ci] Remove in_app_purchase_storekit from Xcode analyzer exclusion list (#9429)
StoreKit2 is now the default and https://github.com/flutter/flutter/issues/116383 is closed. Let's remove it from the deprecation exclusion list to ensure we get new deprecation warnings.

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
2025-06-26 17:15:23 +00:00
Jenn Magder
06f38ba878 Increase deprecation check minimum to iOS 14 and macOS 13 (#7431)
Bump Xcode analyze minimum check version iOS 13 -> iOS 14 and macOS 12.3 -> macOS 13.

- Hit StoreKit2 deprecations. Exclude `in_app_purchase_storekit` to work around StoreKit 1 deprecation warnings.  Added a TODO to remove the exclusion when StoreKit2 is adopted (this should happen in the next few weeks) https://github.com/flutter/flutter/issues/116383.
- Hit https://github.com/flutter/flutter/issues/153587, fixed in https://github.com/flutter/packages/pull/7513
- Hit https://github.com/flutter/flutter/issues/125901 which was `#pragma`'d out in https://github.com/flutter/packages/pull/6221

See related https://github.com/flutter/plugins/pull/5778 and https://github.com/flutter/flutter/issues/102835
2024-08-29 18:01:02 +00:00