Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

getNotificationSettingsWithCompletionHandler - completion handler never executes on iOS 9.3.5 #2927

Open
brianbv opened this issue Jun 19, 2020 · 0 comments

Comments

@brianbv
Copy link

brianbv commented Jun 19, 2020

In PushPlugin.m, getNotificationSettingsWithCompletionHandler is called. The completion handler should execute, and in turn call requestAuthorizationWithOptions causing the user to be asked if they want to receive push notifications.

Actual Behaviour

On iOS 9.3.5, nothing happens. On iOS 10, it finishes execution as expected.

Steps to Reproduce

call PushNotification.init({ios:{badge:true,alert:true,sound:true,clearBadge:true}) from your JavaScript code to initiate the chain of events that lead to getNotificationSettingsWithCompletionHandler being called

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

iOS 9.3.5

Cordova CLI version and cordova platform version

Cordova 9.0.1
iOS 5.1.1

Plugin version

2.3.0

@brianbv brianbv changed the title getNotificationSettingsWithCompletionHandler - completion handler never executes getNotificationSettingsWithCompletionHandler - completion handler never executes on iOS 9.3.5 Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant