1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-05 14:36:39 +00:00

Added Google Maps sample code (#1671)

* Added Google Maps sample code

* Updated per @domesticmouse review

* Updated dependabot and pubspec for Dart 2.19
This commit is contained in:
Anthony Sansone
2023-02-27 18:16:45 -06:00
committed by GitHub
parent b52d7f7744
commit 64d10ca175
76 changed files with 2655 additions and 0 deletions

View 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 {
GeneratedPluginRegistrant.register(with: self)
// TODO: Add your Google Maps API key
GMSServices.provideAPIKey("AIzaSyBFVI6nt-1Yn_lFYWMidyqUk8ca0eE1Sv8")
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}