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

Commit bf62c62

Browse files
author
Boris Tacyniak
authored
Merge pull request #1831 from Codelabsys/unsubscribeFromTopicFix
unsubscribeFromTopic function fix
2 parents b555040 + 4d43ddb commit bf62c62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

component/index.android.js

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ NotificationsComponent.prototype.subscribeToTopic = function(topic) {
3232
RNPushNotification.subscribeToTopic(topic);
3333
};
3434

35+
NotificationsComponent.prototype.unsubscribeFromTopic = function(topic) {
36+
RNPushNotification.unsubscribeFromTopic(topic);
37+
};
38+
3539
NotificationsComponent.prototype.cancelLocalNotifications = function(details) {
3640
RNPushNotification.cancelLocalNotifications(details);
3741
};

0 commit comments

Comments
 (0)