Skip to content

Commit ba0364a

Browse files
[google_maps_flutter] Indicate that default iOS impl is discoraged (#12872)
Updates the app-facing package's README to tell clients to pick either the SDK 9 or SDK 10 package, explicitly discouraging using the default implementation. As discussed in #119108 this is an interim step until either: - Flutter drops support for iOS 15, or - we decide that it's okay to potentially cause minor regressions for clients with apps that require iOS 16+ by making the endorsed implementation the `_sdk9` variant, rather than the legacy version that will auto-select SDK 10 for those users. Follow-up to #119108 ## 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.
1 parent 15e15cc commit ba0364a

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
## NEXT
1+
## 2.18.2
22

3-
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.
3+
* Updates README to indicate that `google_maps_flutter_ios` is a legacy
4+
implementation.
5+
* Updates minimum supported SDK version to Flutter 3.47/Dart 3.13.
46

57
## 2.18.1
68

‎packages/google_maps_flutter/google_maps_flutter/README.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Flutter plugin that provides a [Google Maps](https://developers.google.com/map
88

99
| | Android | iOS | Web |
1010
|-------------|---------|---------|----------------------------------|
11-
| **Support** | SDK 24+ | iOS 14+ | Same as [Flutter's][web-support] |
11+
| **Support** | SDK 24+ | iOS 15+ | Same as [Flutter's][web-support] |
1212

1313
[web-support]: https://docs.flutter.dev/reference/supported-platforms
1414

@@ -39,10 +39,13 @@ For more details, see [Getting started with Google Maps Platform](https://develo
3939
### Platform Setup
4040

4141
* **Android**: Please see [the `google_maps_flutter_android` README](https://pub.dev/packages/google_maps_flutter_android#setup).
42-
* **iOS**: Please select an SDK version, and see the relevant README:
43-
* [8.4 (iOS 14+)](https://pub.dev/packages/google_maps_flutter_ios#setup)
44-
* [SDK 9.x (iOS 15+)](https://pub.dev/packages/google_maps_flutter_ios_sdk9#setup)
42+
* **iOS**: Please select an SDK version, and see the relevant README. Note that
43+
the default implementation, `google_maps_flutter_ios`, is a legacy
44+
implementation that does not support Swift Package Manager, and will not
45+
receive future updates. All clients should migrate to one of the following
46+
implementations:
4547
* [SDK 10.x (iOS 16+)](https://pub.dev/packages/google_maps_flutter_ios_sdk10#setup)
48+
* [SDK 9.x (iOS 15+)](https://pub.dev/packages/google_maps_flutter_ios_sdk9#setup)
4649
* **Web**: Please see [the `google_maps_flutter_web` README](https://pub.dev/packages/google_maps_flutter_web#setup).
4750

4851
### Advanced Markers

‎packages/google_maps_flutter/google_maps_flutter/pubspec.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
5-
version: 2.18.1
5+
version: 2.18.2
66

77
environment:
8-
sdk: ^3.11.0
9-
flutter: ">=3.41.0"
8+
sdk: ^3.13.0
9+
flutter: ">=3.47.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)