Hi, I have a UNNotificationServiceExtension, which was running perfectly fine for more than a year. Last week, it has suddenly stopped working, with no apparent changes to the server-side application sending the notification to APNS. The strange part is that it works on some devices and it doesn't work on others. I have confirmed that notifications are enabled for the app in iOS system preferences.
com.company.product is the bundle identifier of the main app
com.company.product.yyyyy is the bundle identifies of the NSE
appname.app and nse.appex are the placeholders for the name of the app and name of the NSE respectively
Following is the NSE info.plist:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>yyyy</string>
<key>CFBundleName</key>
<string>yyyy</string>
<key>CFBundleIdentifier</key>
<string>com.company.product.yyyy</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>y.y.y</string>
<key>MinimumOSVersion</key>
<string>13.0</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.usernotifications.service</string>
<key>NSExtensionPrincipalClass</key>
<string>NotificationService</string>
</dict>
<key>CFBundleVersion</key>
<string>yyy</string>
</dict>
</plist>
Model: iPhone 15 Pro Max
iOS Version: 17.3