Skip to content

PushNotificationIOS.requestPermissions promise never resolves #9105

Closed
@chandlervdw

Description

@chandlervdw

I'm confused as to how this is supposed to be used. The RN PushNotificationIOS docs say:

This method returns a promise that will resolve when the user accepts, rejects, or if the permissions were previously rejected. The promise resolves to the current state of the permission.

But when I use the following, console.log() is never hit.

PushNotificationIOS.requestPermissions().then((permissions) => console.log(permissions));

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions