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
Hey @dpa99c
I don't wanna create new pull request (it will override some my custom local changes).
But please, just add this line into AppDelegate+FirebasePlugin.m line number 76
// Delegate notification center here (prevent missing notifications)
[UNUserNotificationCentercurrentNotificationCenter].delegate = self;
Important
You must assign your delegate object to the UNUserNotificationCenter object before your app finishes launching. For example, in an iOS app, you must assign it in the application:willFinishLaunchingWithOptions: or application:didFinishLaunchingWithOptions: method of your app delegate. Assigning a delegate after these methods are called might cause you to miss incoming notifications.
In my case it solve problem when app was terminated by user, and then first actionable notification doesn't trigger function in background. Only first, because it is call application:didFinishLaunchingWithOptions:, and notifications there was not ready.
The text was updated successfully, but these errors were encountered:
Hey @dpa99c
I don't wanna create new pull request (it will override some my custom local changes).
But please, just add this line into
AppDelegate+FirebasePlugin.m
line number 76It is required by apple docs
In my case it solve problem when app was terminated by user, and then first actionable notification doesn't trigger function in background. Only first, because it is call
application:didFinishLaunchingWithOptions:
, and notifications there was not ready.The text was updated successfully, but these errors were encountered: