19 lines
784 B
Swift
19 lines
784 B
Swift
import Flutter
|
|
import UIKit
|
|
|
|
@main
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
|
override func application(
|
|
_ application: UIApplication,
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
) -> Bool {
|
|
// `import GoogleMaps` and a `GMSServices.provideAPIKey` call used to sit
|
|
// here, reading the key from Info.plist. The app no longer uses the Google
|
|
// Maps SDK at all — tiles come from OpenStreetMap and routes from OSRM, both
|
|
// keyless, drawn by `flutter_map` inside the Flutter view. The pod is gone,
|
|
// so this file must not reference it or the build fails to link.
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
}
|
|
}
|