My app receives CKQueryNotification from CKQuerySubscription normally on iOS or iPadOS, but with MacCatalyst with the same bundle ID (generated from Xcode 11.6), it never receives CKQueryNotification even tho
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data)
gets called properly upon app launch - whenever there's a record change on CloudKit, the method
func application(_ application: UIApplication,
didReceiveRemoteNotification userInfo: [AnyHashable : Any],
fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Swift.Void)
never fires on the MacCatalyst build, whereas it fires immediately on iOS.
Any ideas why? There's a thread on Apple forum but don't see a solution yet: https://developer.apple.com/forums/thread/125069