From 8566bbb981c93098f94132fd5e178df84063d501 Mon Sep 17 00:00:00 2001 From: Dumitru Date: Tue, 24 Aug 2021 15:35:42 +0300 Subject: [PATCH] Fix 2122 Fixes canceling notifications on Android. --- component/index.android.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component/index.android.js b/component/index.android.js index 3496c045b..0a609cbf9 100644 --- a/component/index.android.js +++ b/component/index.android.js @@ -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) {