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

Commit b86fb41

Browse files
author
Axel Vencatareddy
committed
Make subscribeToTopic accessible
1 parent c004adc commit b86fb41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ Notifications.requestPermissions = function() {
275275
};
276276

277277
/* Fallback functions */
278+
Notifications.subscribeToTopic = function() {
279+
return this.callNative('subscribeToTopic', arguments);
280+
};
281+
278282
Notifications.presentLocalNotification = function() {
279283
return this.callNative('presentLocalNotification', arguments);
280284
};

0 commit comments

Comments
 (0)