in my app I have implemented silent notifications with Firebase Cloud Messaging, I receive message and handle them with:
public func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
// Silent push notifications
}
But start from iOS 14 I notifications don't come and don't handle when app is turned off fully.
Is there way to get notifications in iOS 14 and 15?