1// Copyright © 2018-present 650 Industries. All rights reserved. 2 3#import "EXExpoUserNotificationCenterProxy.h" 4#import "EXUserNotificationCenter.h" 5 6@implementation EXExpoUserNotificationCenterProxy 7 8+ (const NSArray<Protocol *> *)exportedInterfaces 9{ 10 return @[@protocol(EXUserNotificationCenterProxyInterface)]; 11} 12 13- (void)getNotificationSettingsWithCompletionHandler:(void(^)(UNNotificationSettings *settings))completionHandler 14{ 15 [[EXUserNotificationCenter sharedInstance] getNotificationSettingsWithCompletionHandler:completionHandler]; 16} 17 18- (void)requestAuthorizationWithOptions:(UNAuthorizationOptions)options completionHandler:(void (^)(BOOL granted, NSError *__nullable error))completionHandler 19{ 20 [[EXUserNotificationCenter sharedInstance] requestAuthorizationWithOptions:options completionHandler:completionHandler]; 21} 22 23@end 24