didReceiveRemoteNotification not called when app is killed

I'm trying to get notification data that whenever notification is received on Phone, it should update database that notification with this id is received. To achieve that i'm using didReceiveRemoteNotification call method which is working absolutely fine in foreground and background but once the app is removed(swiped) from recent apps section. I get message ("Terminated due to signal 9") and calls are not received on method didReceiveRemoteNotification How can I get this call to wakeup even when app is killed (swiped from recent apps). Or Is there any alternative way that I can use to get the notification received data with notification id with real time.

func application(_ application: UIApplication,
                     didReceiveRemoteNotification userInfo: [AnyHashable : Any],
                     fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
        print("Remote call data is working")
        }

An app will not be relaunched in the background by a push notification if the app had previously been closed by the user (swiped from recent apps). Closing an app in this manner is considered a drastic choice by the user to say that they do not want the app to run, often because it stopped responding, or misbehaved in some unrecoverable manner.

didReceiveRemoteNotification not called when app is killed
 
 
Q