onApplicationDidReceiveRemoteNotification

In order to receive notification data payload this functions needs to be called in ios Swift side application didReceiveRemoteNotification function

Example:

func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) async -> UIBackgroundFetchResult {
NotifierManager.shared.onApplicationDidReceiveRemoteNotification(userInfo: userInfo)
return UIBackgroundFetchResult.newData
}