phonegap/phonegap-plugin-push

Prompt to allow push notifications is not appearing since version 2.3.0

chrhenne opened this issue · 2 comments

Expected Behaviour

Prompt to allow push notifications to appear when the app starts

Actual Behaviour

No prompt.

The prompt appears if I use plugin version 2.2.3, but that version does not receive push notifications on iOS 13. So in order to receive push notifications on iOS 13 from clean install I have to:

  1. Install a build which uses plugin version 2.2.3
  2. Open the app and allow push notifications
  3. Build a new app with plugin version 2.3.0
  4. Install the update and open the app. I can now receive notifications.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Use plugin version 2.3.0 from clean install (I have added capabilities for push notifications and background tasks, and setup certificates etc.)

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

iOS 13.1.3

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

N/A

Cordova CLI version and cordova platform version

9.0.0 (cordova-lib@9.0.1)
ios 5.0.1

Plugin version

phonegap-plugin-push 2.3.0 "PushPlugin"

Sample Push Data Payload

Sample Code that illustrates the problem

Logs taken while reproducing problem

Closing as duplicate of issue #2841

lock commented

This thread has been automatically locked.