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

Commit 4d43ddb

Browse files
Mostafa ArafaMostafa Arafa
authored andcommitted
unsubscribeFromTopic fix
1 parent b555040 commit 4d43ddb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

component/index.android.js

Lines changed: 4 additions & 0 deletions
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)