Skip to content

showPushNotificationPermissions second time is always False #32

@ivanbatura

Description

@ivanbatura

I am using showPushNotificationPermissionsWithType method for a pre-validation of the push notifications.
The first time the method is executed works fine. But if I request again the permission check then, the result is always false.

I changed the
completionHandler((status == ClusterAuthorizationStatusUnDetermined),
to
completionHandler((status == ClusterAuthorizationStatusAuthorized),

and worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions