18 lines
515 B
Swift
18 lines
515 B
Swift
import Flutter
|
|
import UIKit
|
|
import GoogleMaps
|
|
|
|
@main
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
|
override func application(
|
|
_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
) -> Bool {
|
|
// Configure Google Maps with API Key
|
|
GMSServices.provideAPIKey("YOUR_GOOGLE_MAPS_API_KEY_HERE")
|
|
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
}
|
|
}
|