-
Notifications
You must be signed in to change notification settings - Fork 548
Closed
Labels
bugIf an issue is a bug or a pull request a bug fixIf an issue is a bug or a pull request a bug fixregressionThe issue or pull request is a regressionThe issue or pull request is a regression
Milestone
Description
Apple platform
iOS
Framework version
net9.0-*
Affected platform version
9.0.306
Description
Starting with .NET 9.0.306, an iOS Notification Service Extension (built with .NET MAUI or Microsoft.iOS) fails to launch. The process never starts or crashes immediately. In .NET 9.0.305, the exact same project worked correctly.
This regression breaks push notifications that include mutable-content:1.
Steps to Reproduce
- Create an iOS (or .NET MAUI) app with a Notification Service Extension:
1.1. Main app target: net9.0-ios
1.2. Extension target: net9.0-ios - Send a push notification - Push payload includes "mutable-content": 1
- Build and deploy using .NET 9.0.305:w extension runs as expected, can change the push content
- Upgrade workloads to .NET 9.0.306.
- Build and deploy again: extension no longer launches.
Did you find any workaround?
No response
Relevant logs
Here are some warnings from the device console logs, when a push is sent:
- [u 7A54B3F8-81E8-46FB-B5BA-1F458A942393:m (null)] [()] Hub connection error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.company.dev.notificationextension" UserInfo={NSDebugDescription=connection to service named com.company.dev.notificationextension}
- error: Failed to load AOT module 'Microsoft.iOS' while running in aot-only mode: doesn't match assembly.
- Sandbox: Company.iOS.NotificationExten(90410) deny(1) sysctl-read kern.bootargs
- RBSStateCapture remove item called for untracked item 34-35-608390 (target:[xpcservice<com.company.dev.notificationextension([osservice<com.apple.SpringBoard>:35])>{vt hash: 0}:90445])
lyncolnms, felipe-moz and ronanj2
Metadata
Metadata
Assignees
Labels
bugIf an issue is a bug or a pull request a bug fixIf an issue is a bug or a pull request a bug fixregressionThe issue or pull request is a regressionThe issue or pull request is a regression