@@ -55,3 +55,57 @@ PushNotification._onNotification = function (data, isFromBackground = null) {
5555PushNotification . _onPermissionResult = function ( ) {
5656 RNPushNotification . _onPermissionResult ( ) ;
5757} ;
58+
59+ PushNotification . _requestPermissions = function ( ) {
60+ RNPushNotification . _requestPermissions ( ) ;
61+ } ;
62+
63+ PushNotification . requestPermissions = function ( ) {
64+ RNPushNotification . requestPermissions ( ) ;
65+ } ;
66+
67+ PushNotification . presentLocalNotification = function ( ) {
68+ RNPushNotification . presentLocalNotification ( ) ;
69+ } ;
70+
71+ PushNotification . scheduleLocalNotification = function ( ) {
72+ RNPushNotification . scheduleLocalNotification ( ) ;
73+ } ;
74+
75+ PushNotification . cancelLocalNotifications = function ( ) {
76+ RNPushNotification . cancelLocalNotifications ( ) ;
77+ } ;
78+
79+ PushNotification . cancelAllLocalNotifications = function ( ) {
80+ RNPushNotification . cancelAllLocalNotifications ( ) ;
81+ } ;
82+
83+ PushNotification . setApplicationIconBadgeNumber = function ( ) {
84+ RNPushNotification . setApplicationIconBadgeNumber ( ) ;
85+ } ;
86+
87+ PushNotification . getApplicationIconBadgeNumber = function ( ) {
88+ RNPushNotification . getApplicationIconBadgeNumber ( ) ;
89+ } ;
90+
91+ PushNotification . popInitialNotification = function ( handler ) {
92+ RNPushNotification . popInitialNotification ( ) ;
93+ } ;
94+
95+ PushNotification . abandonPermissions = function ( ) {
96+ RNPushNotification . abandonPermissions ( ) ;
97+ } ;
98+
99+ PushNotification . checkPermissions = function ( ) {
100+ RNPushNotification . checkPermissions ( ) ;
101+ } ;
102+
103+ PushNotification . registerNotificationActions = function ( ) {
104+ RNPushNotification . registerNotificationActions ( ) ;
105+ } ;
106+
107+ PushNotification . clearAllNotifications = function ( ) {
108+ RNPushNotification . clearAllNotifications ( ) ;
109+ } ;
110+
111+ module . exports = PushNotification ;
0 commit comments