first commit
This commit is contained in:
18
ios/Runner/AppDelegate.swift
Normal file
18
ios/Runner/AppDelegate.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user