Here is the code which produces that error:
CXProvider.reportNewIncomingVoIPPushPayload(payload.payloadDict) { error in
if let error = error {
// Without the filtering entitlement, an error is present
// .missingNotificationFilteringEntitlement
NSELogger.uncorrelated.error("Failed to notify main app of call message: \(error)")
} else {
NSELogger.uncorrelated.info("Successfully notified main app of call message.")
}
}
You are making the claim: "Use of reportNewIncomingVoIPPushPayload() does not depend on the filtering entitlement".
When calling the function without com.apple.developer.usernotifications.filtering entitlement, the function will return an error:
"CXErrorCodeNotificationServiceExtensionError.Code.missingNotificationFilteringEntitlement"
In its documentation it is stated: "An error indicating that the notification service extension is missing the required filtering entitlement."
Here is the code which produces that error:
CXProvider.reportNewIncomingVoIPPushPayload(payload.payloadDict) { error in
if let error = error {
// Without the filtering entitlement, an error is present
// .missingNotificationFilteringEntitlement
NSELogger.uncorrelated.error("Failed to notify main app of call message: \(error)")
} else {
NSELogger.uncorrelated.info("Successfully notified main app of call message.")
}
}
You are making the claim: "Use of reportNewIncomingVoIPPushPayload() does not depend on the filtering entitlement".
When calling the function without com.apple.developer.usernotifications.filtering entitlement, the function will return an error:
"CXErrorCodeNotificationServiceExtensionError.Code.missingNotificationFilteringEntitlement"
In its documentation it is stated: "An error indicating that the notification service extension is missing the required filtering entitlement."