iOS Configuration
Steps
-
In the Google Cloud Console, enable Maps SDK for iOS and Geocoding API for the same project used for Android.
-
In
ios/Runner/AppDelegate.swift(orAppDelegate.mif Objective-C), ensure Google Maps is initialized with your iOS API key:
import GoogleMaps
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey("YOUR_IOS_GOOGLE_MAPS_API_KEY")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
Note
Some templates use AppDelegate.m — use GMSServices provideAPIKey: equivalently.
- Update
mapApiKeyinlib/customization.dartif you use a single key for both platforms, otherwise keep platform-specific keys as above.
Verify
Build via Xcode and open a map view. If the map is blank, check the console for ClientParametersRequest failed — usually a bundle ID mismatch with the Cloud Console credential restriction.
Still stuck?
Our support team is ready to help you get set up.

