Files
2019-11-20 17:43:57 +02:00

19 lines
528 B
Objective-C

@import UIKit;
#import <PushKit/PushKit.h>
@import UserNotifications;
@interface RNNotifications : NSObject
+ (instancetype)sharedInstance;
+ (void)startMonitorNotifications;
+ (void)startMonitorPushKitNotifications;
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(id)deviceToken;
+ (void)didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
+ (void)addNativeDelegate:(id<UNUserNotificationCenterDelegate>)delegate;
+ (void)removeNativeDelegate:(id<UNUserNotificationCenterDelegate>)delegate;
@end