Handle remote notifications when app is killed

Hello, everyone. I have a problem with the push notification of my app, so I'm asking you a question. I'm currently using Channel Talk, FCM, and Toast. The current problem is that the app runs (Click X) when you receive a push notification while the app is shut down. Toast does not come into didFinishLaunchingWithOptions or Viewcontroller lifecycle. In the case of FCM, it enters DidFinish Launching With Options. However, in the case of Channel Talk, we are going around the didFinishLaunchingWithOptions part and the life cycle of the view controller. The error that occurred was the crush of the parts that were forced to opt-out within the functions in the above situation by riding a lifecycle. But what I want to deal with is that I don't want the channel talk push to ride the Viewcontroller lifecycle with the app turned off. How should I deal with this?

Handle remote notifications when app is killed
 
 
Q