//
//  APMessagingModule.h
//  apptics-react-native
//
//  Created by Saravanan S on 02/11/24.
//

#import <Foundation/Foundation.h>
#import <UserNotifications/UserNotifications.h>

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTEventEmitter.h>
#import <AppticsReactNativeSpec/AppticsReactNativeSpec.h>
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#endif

NS_ASSUME_NONNULL_BEGIN

#ifdef RCT_NEW_ARCH_ENABLED
@interface AppticsPushModule : RCTEventEmitter <NativeAppticsPushModuleSpec, UNUserNotificationCenterDelegate>
#else
@interface AppticsPushModule : RCTEventEmitter <RCTBridgeModule, UIApplicationDelegate, UNUserNotificationCenterDelegate>
#endif
@property (strong, nonatomic) NSString *presentationPreference;
@end

NS_ASSUME_NONNULL_END
