Issue
In the received push message, I see the word [modified] in the title. I didn't add it.
Find any class which inherits from UNNotificationServiceExtension
. You will see a method didReceive(_ :withcontenthandler:). If your Push Notification title contains the word [modified] at the end, the [modified] part comes from this method.
The example of the code snippet that will cause this modification:
// Modify the notification content here...
if let bestAttemptContent = bestAttemptContent {
bestAttemptContent.title = "\(bestAttemptContent.title) [modified]"
contentHandler(bestAttemptContent)}
Additional info: Why is There [modified] at my Push Notification Title?
Comments
0 comments
Please sign in to leave a comment.