1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/flutter_maps_firestore/ios/Runner/AppDelegate.swift
2020-01-14 06:41:44 +10:00

19 lines
636 B
Swift

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)
}
}