2018-03-22 14:56:49 +00:00
|
|
|
#ifndef RNFirebaseInvites_h
|
|
|
|
#define RNFirebaseInvites_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#if __has_include(<FirebaseInvites/FirebaseInvites.h>)
|
|
|
|
#import <FirebaseInvites/FirebaseInvites.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
|
|
|
|
@interface RNFirebaseInvites : RCTEventEmitter<RCTBridgeModule, FIRInviteDelegate>
|
|
|
|
|
|
|
|
+ (_Nonnull instancetype)instance;
|
|
|
|
|
|
|
|
@property _Nullable RCTPromiseRejectBlock invitationsRejecter;
|
|
|
|
@property _Nullable RCTPromiseResolveBlock invitationsResolver;
|
|
|
|
|
2018-03-22 16:36:42 +00:00
|
|
|
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
|
|
|
|
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *))restorationHandler;
|
2018-03-22 14:56:49 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#else
|
|
|
|
@interface RNFirebaseInvites : NSObject
|
|
|
|
@end
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|