You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS simulator: refuse notifications permission with a hint to alert accept|dismiss #5074
On an iOS simulator, settings permission grant|deny|reset notifications sends simctl privacy <udid> <action> notifications <bundle>. simctl privacy does not list a notifications service, so the call fails and isIosPrivacyServiceRefusal classifies the failure as a refusal.
Service map: packages/platform-apple/src/core/simctl-settings.ts:75 maps notifications to 'notifications'.
Refusal hint: packages/platform-apple/src/core/simctl-settings.ts:255-258 tells the user to use the all target. For notifications, all cannot help either.
The working path is to answer the notification prompt with alert accept or alert dismiss. That path works on local simulators, physical iOS devices and Limrun. The refusal does not name it.
Context: #5046 and #4668 (closed as not planned for core).
Required behavior
An iOS simulator request for the notifications permission refuses before it calls simctl.
The refusal has its own typed reason, for example ios-notification-permission-unsupported.
The hint tells the user to answer the prompt with alert accept or alert dismiss.
The settings catalog help and the user docs for permissions say the same.
Other permission targets and other platforms do not change.
Verification
A unit test for the iOS simulator settings plan shows that notifications refuses with the new reason and hint, and that no simctl call is made.
The docs and help text name alert accept|dismiss for notifications on iOS simulators.
The issue reports that settings permission ... notifications calls simctl privacy ... notifications on iOS, but simctl privacy does not support a notifications service, causing the failure to be classified as a refusal instead of an unsupported/need-alert flow. It also specifies concrete file locations, a typed refusal reason, hint text, docs, and verification, so a maintainer can act on it.
Activity
apex-sentinel-staging commentedon Nov 24, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe issue reports that
settings permission ... notificationscallssimctl privacy ... notificationson iOS, butsimctl privacydoes not support a notifications service, causing the failure to be classified as a refusal instead of an unsupported/need-alert flow. It also specifies concrete file locations, a typed refusal reason, hint text, docs, and verification, so a maintainer can act on it.Required sections