Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear() method call removes push notifications from lock screen and notification center on IOS #133

Open
connor-odoherty opened this issue Mar 12, 2019 · 1 comment

Comments

@connor-odoherty
Copy link

Using version 0.8.8 in an Ionic Cordova iOS project, with push notifications sent by the Ruby UrbanAirship gem.

To reproduce:

  1. Attach a listener to your push notifications that adjusts badge value
  2. Call clear() in this handler
  3. Send a push notification to your iOS device
  4. Watch the push notification appear at the top of the screen for a second, then disappear quickly, without being persisted in the message center or anywhere else
  5. Make a new build with the clear() call removed
  6. See the push notification get persisted this time

Is this expected behavior? Should the clear() call also remove all persisted push notifications from the message center and/or lock screen?

@edwincabrejos
Copy link

Hi, do you have any solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants