mirror of
https://github.com/flutter/samples.git
synced 2026-05-16 11:58:47 +00:00
flutter_maps_firestore: regenerate ios dir (#230)
This commit is contained in:
18
flutter_maps_firestore/ios/Runner/AppDelegate.swift
Normal file
18
flutter_maps_firestore/ios/Runner/AppDelegate.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user