Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Implementing removeAllDeliveredNotifications and removeDeliveredNotifications for remove notifications from notification center, and getDeliveredNotifications Thanks for submitting a PR! Please read these instructions carefully: - [x] Explain the **motivation** for making this change. - [x] Provide a **test plan** demonstrating that the code is solid. - [x] Match the **code formatting** of the rest of the codebase. - [x] Target the `master` branch, NOT a "stable" branch. Currently, calling PushNotificationIOS.cancelAllLocalNotifications not remove the notification from the Notification Center In iOS 10, a new UNUserNotification class was introduced, this class has a method which get and remove the notifications from notification center This PR try to solve that. In my case, i'm working with an messaging app, every message is a new notification, when the user tap a notification, the app is opened and the rest of notifications should be gon Closes #13036 Differential Revision: D4761828 Pulled By: javache fbshipit-source-id: 216e44a64f1bf88b5ae3045d1fa6eca8a1278a71
- Loading branch information
1 parent
9d377e9
commit 3df654e
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters