Tuesday, October 27, 2026
HomeiOS Developmentios - Firebase flutter notification onMessageOpened is just not referred to as

ios – Firebase flutter notification onMessageOpened is just not referred to as

[ad_1]

I am attempting to setup iOS notifications in flutter challenge with firebase. I’ve

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func software(
    _ software: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    if #out there(iOS 10.0, *) {
      UNUserNotificationCenter.present().delegate = self as? UNUserNotificationCenterDelegate
    }

    GeneratedPluginRegistrant.register(with: self)

this in AppDelegate file, however nonetheless I do not obtain callback to onMessageOpenedApp / getInitialMessage in iOS when notification is tapped. This works tremendous in Android.

I am seeing this in logs, may this trigger a difficulty?

Warning: UNUserNotificationCenter delegate obtained name to -userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: however the completion handler was by no means referred to as.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments