You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do i have to register somehow the Firebase module in AppDelegate
import UIKit
import Flutter
import Firebase
import flutter_downloader
import app_links
import restart
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
var flutter_native_splash = 1
UIApplication.shared.isStatusBarHidden = false
FirebaseApp.configure()
print("Firebase configured")
FlutterDownloaderPlugin.setPluginRegistrantCallback(registerPlugins)
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
// Retrieve the link from parameters
if let url = AppLinks.shared.getLink(launchOptions: launchOptions) {
// We have a link, propagate it to your Flutter app
AppLinks.shared.handleLink(url: url)
return true // Returning true will stop the propagation to other packages
}
RestartPlugin.generatedPluginRegistrantRegisterCallback = { [weak self] in
GeneratedPluginRegistrant.register(with: self!)
print("RestartPlugin registered")
}
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
private func registerPlugins(registry: FlutterPluginRegistry) {
if (!registry.hasPlugin("FlutterDownloaderPlugin")) {
FlutterDownloaderPlugin.register(with: registry.registrar(forPlugin: "FlutterDownloaderPlugin")!)
}
}
The text was updated successfully, but these errors were encountered:
xalikoutis
changed the title
After restart stucks while initialing firebase
After restart stucks while initializing firebase
Sep 2, 2024
xalikoutis
changed the title
After restart stucks while initializing firebase
After restart stucks while getting firebase initial message
Sep 2, 2024
xalikoutis
changed the title
After restart stucks while getting firebase initial message
After restart app stucks while getting firebase initial message
Sep 2, 2024
Hi first of all thanks for the great plugin
Android: Works as expected, app restarts
IOS: Stucks while initializing my app and while getting the initial push message
i get no errors just stucks there
Do i have to register somehow the Firebase module in AppDelegate
The text was updated successfully, but these errors were encountered: