phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

iOS device does not received notification after reconnect internet access #1161

Open mangacu opened 7 years ago

mangacu commented 7 years ago

Expected Behaviour

I'm hoping iOS device receive notification after reconnect internet access

Actual Behaviour

But nothing happens when reconnect

Reproduce Scenario (including but not limited to)

Steps to Reproduce

iOS 9.1

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

Cordova CLI version and cordova platform version

cordova --version                                    6.0.0
cordova platform version android                    5.1.1

Plugin version

cordova plugin version | grep phonegap-plugin-push   1.5.3

Sample Push Data Payload

Sample Code that illustrates the problem

const push = window.PushNotification.init({
    android: {
      senderID: process.env.IS_LIVE ? '746961546383' : '746961546383',
    },
    ios: { alert: 'true', badge: 'true', sound: 'true' },
    windows: {},
  });
stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.