up
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import UIKit
|
||||
import Flutter
|
||||
import GoogleMaps
|
||||
import Firebase
|
||||
|
||||
@UIApplicationMain
|
||||
@objc class AppDelegate: FlutterAppDelegate {
|
||||
@@ -8,6 +9,7 @@ import GoogleMaps
|
||||
_ application: UIApplication,
|
||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||
) -> Bool {
|
||||
FirebaseApp.configure()
|
||||
GeneratedPluginRegistrant.register(with: self)
|
||||
|
||||
// Inicializa Google Maps SDK para iOS con tu clave de API de Google Maps
|
||||
@@ -15,4 +17,4 @@ import GoogleMaps
|
||||
|
||||
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+14
-1
@@ -78,6 +78,19 @@
|
||||
<key>aps-environment</key>
|
||||
<string>development</string>
|
||||
<key>FirebaseAppDelegateProxyEnabled</key>
|
||||
<string>NO</string>
|
||||
<false/>
|
||||
<key>NSLocalNotificationsUsageDescription</key>
|
||||
<string>¡La aplicación te enviará notificaciones locales para mantenerte informado!</string>
|
||||
<key>NSRemoteNotificationsUsageDescription</key>
|
||||
<string>¡La aplicación te enviará notificaciones remotas para mantenerte informado!</string>
|
||||
<key>UIUserNotificationTypes</key>
|
||||
<string>(UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound)</string>
|
||||
<key>UIApplicationSceneManifest</key>
|
||||
<dict>
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
<false/>
|
||||
<key>UISceneConfigurations</key>
|
||||
<dict/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user