From 4bcf358245a74ad85102984e05646f2c64220d59 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Wed, 11 Feb 2026 12:16:51 -0800 Subject: [PATCH 01/10] lol --- .../Sources/google_maps_flutter_ios/FGMImageUtils.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m b/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m index 8136bfd6f6e..42d2e1a820d 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m +++ b/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m @@ -80,8 +80,8 @@ // Refer to the flutter google_maps_flutter_platform_interface package for details. FGMPlatformBitmapBytes *bitmapBytes = bitmap; @try { - CGFloat mainScreenScale = [[UIScreen mainScreen] scale]; - image = [UIImage imageWithData:bitmapBytes.byteData.data scale:mainScreenScale]; +// CGFloat mainScreenScale = screenScale; + image = [UIImage imageWithData:bitmapBytes.byteData.data scale:screenScale]; } @catch (NSException *exception) { @throw [NSException exceptionWithName:@"InvalidByteDescriptor" reason:@"Unable to interpret bytes as a valid image." From c7437008b5d90831daa84a055deadaf95e62096e Mon Sep 17 00:00:00 2001 From: louisehsu Date: Wed, 11 Feb 2026 12:58:16 -0800 Subject: [PATCH 02/10] init --- .../google_maps_flutter_ios/CHANGELOG.md | 4 ++++ .../example/ios/Runner/AppDelegate.swift | 7 +++++-- .../example/ios/Runner/Info.plist | 21 +++++++++++++++++++ .../example/pubspec.yaml | 4 ++-- .../google_maps_flutter_ios/FGMImageUtils.m | 1 - .../google_maps_flutter_ios/pubspec.yaml | 6 +++--- 6 files changed, 35 insertions(+), 8 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md index 3338803175e..319599c26c6 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.17.2 + +* Adds UIScene compatibility. + ## 2.17.1 * Refactors code for improved testability. diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift index a382ba8b736..2741ea736e5 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift @@ -7,7 +7,7 @@ import GoogleMaps import UIKit @main -@objc class AppDelegate: FlutterAppDelegate { +@objc class AppDelegate: FlutterAppDelegate, @MainActor FlutterImplicitEngineDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? @@ -15,7 +15,10 @@ import UIKit var mapsApiKey = ProcessInfo.processInfo.environment["MAPS_API_KEY"] ?? "YOUR KEY HERE" GMSServices.provideAPIKey(mapsApiKey) - GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } + + func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { + GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry) + } } diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist index 6783ca935f1..f2d5afbbe29 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist @@ -49,5 +49,26 @@ UIApplicationSupportsIndirectInputEvents + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneClassName + UIWindowScene + UISceneDelegateClassName + FlutterSceneDelegate + UISceneConfigurationName + flutter + UISceneStoryboardFile + Main + + + + diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter_ios/example/pubspec.yaml index 72b3f21ed9c..a18c6cbbda8 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the google_maps_flutter plugin. publish_to: none environment: - sdk: ^3.9.0 - flutter: ">=3.35.0" + sdk: ^3.10.0 + flutter: ">=3.38.0" dependencies: cupertino_icons: ^1.0.5 diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m b/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m index 42d2e1a820d..878e273ccca 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m +++ b/packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m @@ -80,7 +80,6 @@ // Refer to the flutter google_maps_flutter_platform_interface package for details. FGMPlatformBitmapBytes *bitmapBytes = bitmap; @try { -// CGFloat mainScreenScale = screenScale; image = [UIImage imageWithData:bitmapBytes.byteData.data scale:screenScale]; } @catch (NSException *exception) { @throw [NSException exceptionWithName:@"InvalidByteDescriptor" diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml index f971ae9b567..3061d7dc4fa 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml @@ -2,11 +2,11 @@ name: google_maps_flutter_ios description: iOS implementation of the google_maps_flutter plugin. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22 -version: 2.17.1 +version: 2.17.2 environment: - sdk: ^3.9.0 - flutter: ">=3.35.0" + sdk: ^3.10.0 + flutter: ">=3.38.0" flutter: plugin: From 621c3ac60fd96807f33a97be44231ba193583dee Mon Sep 17 00:00:00 2001 From: louisehsu Date: Wed, 11 Feb 2026 13:01:45 -0800 Subject: [PATCH 03/10] pubspec --- .../google_maps_flutter/google_maps_flutter_ios/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml index 3061d7dc4fa..b5e24c5afdd 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml @@ -2,7 +2,7 @@ name: google_maps_flutter_ios description: iOS implementation of the google_maps_flutter plugin. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22 -version: 2.17.2 +version: 2.17.3 environment: sdk: ^3.10.0 From c45b49223c85ea2cd3c1e45d03541ff19fb9e423 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Wed, 11 Feb 2026 13:51:11 -0800 Subject: [PATCH 04/10] remove main? --- .../example/ios/Runner/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift index 2741ea736e5..ca3d2d64a83 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift @@ -7,7 +7,7 @@ import GoogleMaps import UIKit @main -@objc class AppDelegate: FlutterAppDelegate, @MainActor FlutterImplicitEngineDelegate { +@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? From b802fa9403ed10be8ed324689a7133611d10b193 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Wed, 11 Feb 2026 15:31:34 -0800 Subject: [PATCH 05/10] nonisolate? --- .../example/ios/Runner/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift index ca3d2d64a83..5b15da03be4 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift @@ -18,7 +18,7 @@ import UIKit return super.application(application, didFinishLaunchingWithOptions: launchOptions) } - func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { + nonisolated func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry) } } From e0f6e07c653a0164ed334646f3ae6e6e761edbb3 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Thu, 12 Feb 2026 13:04:30 -0800 Subject: [PATCH 06/10] pr comments --- .../ios/Runner.xcodeproj/project.pbxproj | 21 ++----------------- .../example/ios/Runner/AppDelegate.swift | 2 +- .../example/ios/Runner/Info.plist | 2 +- 3 files changed, 4 insertions(+), 21 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj index 0caf990b984..10d4c01b486 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj @@ -283,7 +283,6 @@ F7151F0C265D7ED70028CB91 /* Sources */, F7151F0D265D7ED70028CB91 /* Frameworks */, F7151F0E265D7ED70028CB91 /* Resources */, - DF182F6A1B9E41DA05BFCB87 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -482,24 +481,6 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - DF182F6A1B9E41DA05BFCB87 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-RunnerTests/Pods-RunnerTests-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/OCMock/OCMock.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OCMock.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RunnerTests/Pods-RunnerTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -708,6 +689,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_STRICT_CONCURRENCY = minimal; SWIFT_VERSION = 6.0; }; name = Debug; @@ -735,6 +717,7 @@ PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.googleMobileMapsExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_STRICT_CONCURRENCY = minimal; SWIFT_VERSION = 6.0; }; name = Release; diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift index 5b15da03be4..ca3d2d64a83 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift @@ -18,7 +18,7 @@ import UIKit return super.application(application, didFinishLaunchingWithOptions: launchOptions) } - nonisolated func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { + func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry) } } diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist index f2d5afbbe29..ddaf9dd8203 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/Info.plist @@ -49,7 +49,7 @@ UIApplicationSupportsIndirectInputEvents - UIApplicationSceneManifest + UIApplicationSceneManifest UIApplicationSupportsMultipleScenes From 8c07d1943f8ade6948bc482dbd589fb26d7c3428 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Thu, 12 Feb 2026 13:06:10 -0800 Subject: [PATCH 07/10] pubspec --- .../google_maps_flutter/google_maps_flutter_ios/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml index 0ea9f274d5d..2d0747955a9 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter_ios/pubspec.yaml @@ -2,7 +2,7 @@ name: google_maps_flutter_ios description: iOS implementation of the google_maps_flutter plugin. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22 -version: 2.17.3 +version: 2.17.4 environment: sdk: ^3.10.0 From 2c650869a9e64a84a8bf663c6473227f61fbf364 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Thu, 12 Feb 2026 13:52:06 -0800 Subject: [PATCH 08/10] merge issue --- .../google_maps_flutter_ios/CHANGELOG.md | 8 ++++---- .../Sources/google_maps_flutter_ios/FGMImageUtils.m | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md index 6bddd692085..5bb452732d8 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter_ios/CHANGELOG.md @@ -1,11 +1,11 @@ -## 2.17.3 +## 2.17.4 -<<<<<<< google-maps-ios-uiscene * Adds UIScene compatibility. -======= + +## 2.17.3 + * Adds a README section about Swift Package Manager and the new `google_maps_flutter_ios_sdk*` packages. ->>>>>>> main ## 2.17.2 diff --git a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m index 8136bfd6f6e..878e273ccca 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m +++ b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/FGMImageUtils.m @@ -80,8 +80,7 @@ // Refer to the flutter google_maps_flutter_platform_interface package for details. FGMPlatformBitmapBytes *bitmapBytes = bitmap; @try { - CGFloat mainScreenScale = [[UIScreen mainScreen] scale]; - image = [UIImage imageWithData:bitmapBytes.byteData.data scale:mainScreenScale]; + image = [UIImage imageWithData:bitmapBytes.byteData.data scale:screenScale]; } @catch (NSException *exception) { @throw [NSException exceptionWithName:@"InvalidByteDescriptor" reason:@"Unable to interpret bytes as a valid image." From 6d557faf85cece7023957f95e6c737d5dc9c194c Mon Sep 17 00:00:00 2001 From: louisehsu Date: Thu, 12 Feb 2026 14:10:08 -0800 Subject: [PATCH 09/10] idk why but copied code --- .../example/ios/Runner/AppDelegate.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift index a382ba8b736..ca3d2d64a83 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift @@ -7,7 +7,7 @@ import GoogleMaps import UIKit @main -@objc class AppDelegate: FlutterAppDelegate { +@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? @@ -15,7 +15,10 @@ import UIKit var mapsApiKey = ProcessInfo.processInfo.environment["MAPS_API_KEY"] ?? "YOUR KEY HERE" GMSServices.provideAPIKey(mapsApiKey) - GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } + + func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { + GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry) + } } From 9af61123b12c558701557aa4fb55165903e57963 Mon Sep 17 00:00:00 2001 From: louisehsu Date: Thu, 12 Feb 2026 15:27:50 -0800 Subject: [PATCH 10/10] preconcurrency? --- .../example/ios/Runner.xcodeproj/project.pbxproj | 4 ++-- .../example/ios/Runner/AppDelegate.swift | 2 +- .../example/ios/Runner/AppDelegate.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj index 10d4c01b486..60adbefd91d 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner.xcodeproj/project.pbxproj @@ -689,7 +689,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_STRICT_CONCURRENCY = minimal; + SWIFT_STRICT_CONCURRENCY = complete; SWIFT_VERSION = 6.0; }; name = Debug; @@ -717,7 +717,7 @@ PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.googleMobileMapsExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_STRICT_CONCURRENCY = minimal; + SWIFT_STRICT_CONCURRENCY = complete; SWIFT_VERSION = 6.0; }; name = Release; diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift index ca3d2d64a83..38d3237c62a 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/Runner/AppDelegate.swift @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import Flutter +@preconcurrency import Flutter import GoogleMaps import UIKit diff --git a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift index ca3d2d64a83..38d3237c62a 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift +++ b/packages/google_maps_flutter/google_maps_flutter_ios_shared_code/example/ios/Runner/AppDelegate.swift @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import Flutter +@preconcurrency import Flutter import GoogleMaps import UIKit