This commit is contained in:
Lizandro Guarnizo
2024-05-21 10:26:19 -05:00
parent 8b34e7d12d
commit e27955d671
23 changed files with 1103 additions and 396 deletions
+3 -1
View File
@@ -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
View File
@@ -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>