This commit is contained in:
Hamza-Ayed
2024-01-15 12:40:19 +03:00
parent dfbe9ba1b6
commit 474b523d3c
7 changed files with 61 additions and 30 deletions

View File

@@ -2,6 +2,7 @@ import UIKit
import Flutter
import FirebaseCore
import GoogleMaps
import Constants
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
@@ -10,7 +11,7 @@ import GoogleMaps
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey("AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0")
GMSServices.provideAPIKey(mapsApiKey)
FirebaseApp.configure()
GeneratedPluginRegistrant.register(with: self)
return true

View File

@@ -0,0 +1 @@
let mapsApiKey = "AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0"