phonegap/phonegap-plugin-push

getNotificationSettingsWithCompletionHandler - completion handler never executes on iOS 9.3.5

brianbv opened this issue · 0 comments

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