Files
doormile_milderapp/ios/Runner/AppDelegate.swift
2026-08-11 13:16:33 +05:30

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