Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 8566bbb

Browse files
authored
Fix 2122
Fixes canceling notifications on Android.
1 parent 17ad0ae commit 8566bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

component/index.android.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ NotificationsComponent.prototype.unsubscribeFromTopic = function(topic) {
3636
RNPushNotification.unsubscribeFromTopic(topic);
3737
};
3838

39-
NotificationsComponent.prototype.cancelLocalNotifications = function(details) {
40-
RNPushNotification.cancelLocalNotifications(details);
39+
NotificationsComponent.prototype.cancelLocalNotification = function(details) {
40+
RNPushNotification.cancelLocalNotification(details);
4141
};
4242

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

0 commit comments

Comments
 (0)