Skip to content

Commit

Permalink
Merge pull request #1831 from Codelabsys/unsubscribeFromTopicFix
Browse files Browse the repository at this point in the history
unsubscribeFromTopic function fix
  • Loading branch information
Boris Tacyniak authored Jan 19, 2021
2 parents b555040 + 4d43ddb commit bf62c62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions component/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ NotificationsComponent.prototype.subscribeToTopic = function(topic) {
RNPushNotification.subscribeToTopic(topic);
};

NotificationsComponent.prototype.unsubscribeFromTopic = function(topic) {
RNPushNotification.unsubscribeFromTopic(topic);
};

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

0 comments on commit bf62c62

Please sign in to comment.