Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/packages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 746750e
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7e3f5da
Choose a head ref
  • 1 commit
  • 168 files changed
  • 1 contributor

Commits on Apr 20, 2023

  1. [google_maps_flutter] Add examples for different iOS versions (#3757)

    Improves the way we specify and test the `GoogleMaps` SDK dependency on iOS. Currently as discussed in flutter/flutter#86820, we are allowing any version of the SDK, and CocoaPods will choose the best version that's compatible with the minimum iOS deployment version of the plugin client's app. However, clients are also subject to future breakage, since any new major SDK version could have compile-time incompatibility with the plugin's wrapping code. We also have no ability to test anything in CI that's newer than the SDK that supports our oldest supported version (currently that's iOS 11, and thus 5.x).
    
    This makes two changes:
    - Replaces the single example with N examples, each with a different minimum iOS version, corresponding to each point where the Google Maps SDK has bumped its minimum iOS requirement. Currently (as documented in the new README file)
      - The oldest example has all of the current testing.
      - The newest example has just XCTests (not integration or XCUITests).
      - Intervening examples have no tests.
    - Instead of the completely unpinned version, we allow anything up to the next major version (which should be the first one with breaking API changes).
    
    This gives us build coverage of each of the (latest at CI runtime) resolve points that clients can have. We retain the flexibility of allowing clients to get the best version that meets their app's constraints, except that we will need to explicitly test and enable new major versions, so that they won't randomly break clients.
    
    Fixes flutter/flutter#86820
    stuartmorgan-g authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    7e3f5da View commit details
    Browse the repository at this point in the history
Loading