From 76c4a3d5facb13521da36d893841710c2468b95e Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Wed, 17 Apr 2024 11:08:33 -0400 Subject: [PATCH] [google_maps_flutter] Update app-facing package iOS requirements (#6552) - Updates the README to indicate that iOS 12 and 13 are no longer supported. - Updates the minimum version of the iOS implementation package to one with privacy manifest support. See related discussion in https://github.com/flutter/packages/pull/6355 --- .../google_maps_flutter/google_maps_flutter/CHANGELOG.md | 8 ++++++++ .../google_maps_flutter/google_maps_flutter/README.md | 2 +- .../google_maps_flutter/example/ios/Podfile | 4 ++-- .../example/ios/Runner.xcodeproj/project.pbxproj | 4 ++-- .../google_maps_flutter/google_maps_flutter/pubspec.yaml | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md index 50ca4a9e6894..c409f37beeb8 100644 --- a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md @@ -1,3 +1,11 @@ +## 2.6.1 + +* Updates the minimum version of the iOS implementation package to a version + with privacy manifest support. +* Updates README and example app to reflect that the minimum supported version + is now iOS 14. Removal of support for iOS 12 and 13 was necessary due to the + upcoming App Store privary manifest requirements. + ## 2.6.0 * Adds `style` to the GoogleMap widget constructor. This allows setting the map diff --git a/packages/google_maps_flutter/google_maps_flutter/README.md b/packages/google_maps_flutter/google_maps_flutter/README.md index ee94ef2fb93f..0a9dd2fce995 100644 --- a/packages/google_maps_flutter/google_maps_flutter/README.md +++ b/packages/google_maps_flutter/google_maps_flutter/README.md @@ -8,7 +8,7 @@ A Flutter plugin that provides a [Google Maps](https://developers.google.com/map | | Android | iOS | Web | |-------------|---------|---------|----------------------------------| -| **Support** | SDK 20+ | iOS 12+ | Same as [Flutter's][web-support] | +| **Support** | SDK 20+ | iOS 14+ | Same as [Flutter's][web-support] | [web-support]: https://docs.flutter.dev/reference/supported-platforms diff --git a/packages/google_maps_flutter/google_maps_flutter/example/ios/Podfile b/packages/google_maps_flutter/google_maps_flutter/example/ios/Podfile index 47ebd5b4bb59..ab60843f560a 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/ios/Podfile +++ b/packages/google_maps_flutter/google_maps_flutter/example/ios/Podfile @@ -1,5 +1,5 @@ -# Global platform version is set to 12 for this example project to support cloud-based maps styling -platform :ios, '12.0' +# The current iOS implementation only supports back to iOS 14. +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner.xcodeproj/project.pbxproj index 8b0a99eb4a09..3e067e9f7632 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/google_maps_flutter/google_maps_flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -360,7 +360,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -411,7 +411,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml index 598ab6f7aeb6..5061448ac3e5 100644 --- a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml @@ -2,7 +2,7 @@ name: google_maps_flutter description: A Flutter plugin for integrating Google Maps in iOS and Android applications. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22 -version: 2.6.0 +version: 2.6.1 environment: sdk: ^3.3.0 @@ -23,7 +23,7 @@ dependencies: sdk: flutter google_maps_flutter_android: ^2.7.0 google_maps_flutter_ios: ^2.5.0 - google_maps_flutter_platform_interface: ^2.5.0 + google_maps_flutter_platform_interface: ^2.6.0 google_maps_flutter_web: ^0.5.6 dev_dependencies: