feat: implement core architecture, design system, localization, and trip features for both driver and rider apps.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import UIKit
|
||||
import Flutter
|
||||
import FirebaseCore
|
||||
import GoogleMaps
|
||||
import CoreLocation
|
||||
|
||||
@main
|
||||
@@ -13,16 +12,7 @@ import CoreLocation
|
||||
_ application: UIApplication,
|
||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||
) -> Bool {
|
||||
|
||||
// تحميل Google Maps API Key في خيط خلفي
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if let config = self.loadConfig(), let apiKey = config["APIKey"] as? String {
|
||||
DispatchQueue.main.async {
|
||||
GMSServices.provideAPIKey(apiKey)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// تهيئة Firebase
|
||||
FirebaseApp.configure()
|
||||
GeneratedPluginRegistrant.register(with: self)
|
||||
|
||||
Reference in New Issue
Block a user