mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
636 B
19 lines
636 B
5 years ago
|
import UIKit
|
||
|
import Flutter
|
||
|
import GoogleMaps
|
||
|
|
||
|
@UIApplicationMain
|
||
|
@objc class AppDelegate: FlutterAppDelegate {
|
||
|
override func application(
|
||
|
_ application: UIApplication,
|
||
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||
|
) -> Bool {
|
||
|
// TODO: Replace this with an API key that has Google Maps for iOS enabled
|
||
|
// See https://developers.google.com/maps/documentation/ios-sdk/get-api-key
|
||
|
GMSServices.provideAPIKey("ADD_A_KEY_HERE")
|
||
|
GeneratedPluginRegistrant.register(with: self)
|
||
|
|
||
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||
|
}
|
||
|
}
|