Closed sepbehroozi closed 6 years ago
Is there any reason you are implementing userNotificationCenter(center:, response:, withCompletionHandler:)
@3pehrbehroozi?
This delegate is not supported and documented in Chabok. You can use didReceiveRemoteNotification
delegate method instead.
I was checking PushClientManager
methods and I see this one: userNotificationCenter(center:, response:, withCompletionHandler:)
in it, I thought we should implement this delegate and call the userNotificationCenter(center:, response:, withCompletionHandler:)
of PushClientManager
instance.
As you said this is a common issue when an objc class is being used in a swift class, and we should not call this method on PushClientManager
instance
Exactly
This is a common issue when an objc class is being used in a swift class, and we should not call this method on PushClientManager instance
Hi, Quite often we see crash in AppDelegate with no reason. I think this will happen after receiving some push notifications.
here is the log of crash
and this is my userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: