2017-09-04 13:01:00 +00:00
|
|
|
#ifndef RNFirebaseLinks_h
|
|
|
|
#define RNFirebaseLinks_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2017-10-14 22:33:30 +00:00
|
|
|
#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
|
|
|
|
#import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
|
2017-09-04 13:01:00 +00:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2017-09-25 14:34:26 +00:00
|
|
|
#import <React/RCTEventEmitter.h>
|
2017-09-04 13:01:00 +00:00
|
|
|
|
2018-03-22 16:57:33 +00:00
|
|
|
@interface RNFirebaseLinks : RCTEventEmitter<RCTBridgeModule>
|
2017-09-26 13:54:21 +00:00
|
|
|
|
2018-03-22 16:57:33 +00:00
|
|
|
+ (_Nonnull instancetype)instance;
|
2017-09-26 13:54:21 +00:00
|
|
|
|
2018-03-22 16:57:33 +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-23 10:33:17 +00:00
|
|
|
- (void)sendLink:(NSString *)link;
|
2017-09-26 13:54:21 +00:00
|
|
|
|
2017-09-04 13:01:00 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#else
|
|
|
|
@interface RNFirebaseLinks : NSObject
|
|
|
|
@end
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2018-03-23 10:33:17 +00:00
|
|
|
|