Skip to content

Commit

Permalink
Fix 2122
Browse files Browse the repository at this point in the history
Fixes canceling notifications on Android.
  • Loading branch information
dimadeveatii authored Aug 24, 2021
1 parent 17ad0ae commit 8566bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions component/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ NotificationsComponent.prototype.unsubscribeFromTopic = function(topic) {
RNPushNotification.unsubscribeFromTopic(topic);
};

NotificationsComponent.prototype.cancelLocalNotifications = function(details) {
RNPushNotification.cancelLocalNotifications(details);
NotificationsComponent.prototype.cancelLocalNotification = function(details) {
RNPushNotification.cancelLocalNotification(details);
};

NotificationsComponent.prototype.clearLocalNotification = function(details, tag) {
Expand Down

0 comments on commit 8566bbb

Please sign in to comment.