Cordova-ios 6.1.1: inconsistent calls didReceiveRemoteNotification event

Hi, we are having problems triggering the didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler event with silent notifications.
When I say inconsistent I mean that when I send a push notification the didReceiveRemoteNotification event isn't always fired and I can't understand why.
One day it might work (meaning that the event is always called regardless of app state) while other times it doesn't. Sometimes even during the same day.
During this tests the build and notification payload is always the same.
This is happening regardless of the app state (foreground, background or killed).
Is there some kind of throttling going on?
Any help is appreciated, thanks in advance!

Here are some additional information:
  • Cordova-cli: 10

  • Cordova-ios: 6.1.1

  • iOS: 14.2

  • We are using the latest version of havesource/cordova-plugin-push

  • Tests carried out with the release version of the App (through Testflight)

  • In XCode I have enabled background fetch, remote notifications and background processing.

Push payload:
{
"aps": {
"content-available": 1,
"mutable-content": 1
// I have also tried adding "sound": "" here but it didn't change anything
},
//other custom parameters
}
Cordova-ios 6.1.1: inconsistent calls didReceiveRemoteNotification event
 
 
Q