Skip to content

[iOS][permissions][SDK33] Permissions.NOTIFICATIONS combined status is never granted #5093

@bbarthec

Description

@bbarthec

🐛 Bug Report

Initially taken from #3510 (comment)

Environment

Platform: iOS
Flow: ejected/bare

Steps to Reproduce

  1. Create ejected app with expo-permissions.
  2. Use following code to ask for Permissions.NOTIFICATIONS
const result = await Permissions.getAsync(Permissions.NOTIFICATIONS);
  1. Allow when prompted.
  2. Observe what is returned as result.

Expected Behavior

result is object as stated in docs with status equal granted.

Actual Behavior

Combined status field is always undetermined despite the fact that user allowed all three subpermissions.

Reproducible demo

Use this snack as js part of project.

  1. expo init
  2. expo eject
  3. yarn install expo-permissions
  4. in ios folder pod install
  5. start app via XCode

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions