1 | #import <Foundation/Foundation.h>
|
2 | #import <React/RCTBridgeModule.h>
|
3 |
|
4 | #import <Branch/Branch.h>
|
5 |
|
6 | extern NSString * _Nonnull const RNBranchLinkOpenedNotification;
|
7 | extern NSString * _Nonnull const RNBranchLinkOpenedNotificationErrorKey;
|
8 | extern NSString * _Nonnull const RNBranchLinkOpenedNotificationParamsKey;
|
9 | extern NSString * _Nonnull const RNBranchLinkOpenedNotificationUriKey;
|
10 | extern NSString * _Nonnull const RNBranchLinkOpenedNotificationBranchUniversalObjectKey;
|
11 | extern NSString * _Nonnull const RNBranchLinkOpenedNotificationLinkPropertiesKey;
|
12 |
|
13 |
|
14 | @interface RNBranch : NSObject <RCTBridgeModule>
|
15 |
|
16 | @property (class, readonly, nonnull) Branch *branch;
|
17 |
|
18 | + (void)initSessionWithLaunchOptions:(NSDictionary * _Nullable)launchOptions isReferrable:(BOOL)isReferrable;
|
19 | + (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> * _Nullable)options;
|
20 | + (BOOL)application:(UIApplication * _Nullable)application openURL:(NSURL * _Nullable)url sourceApplication:(NSString * _Nullable)sourceApplication annotation:(id _Nullable)annotation;
|
21 | #pragma clang diagnostic push
|
22 | #pragma clang diagnostic ignored "-Wpartial-availability"
|
23 | + (BOOL)continueUserActivity:(NSUserActivity * _Nonnull)userActivity;
|
24 | #pragma clang diagnostic pop
|
25 |
|
26 |
|
27 | + (void)useTestInstance;
|
28 | + (void)deferInitializationForJSLoad;
|
29 |
|
30 | + (void)setDebug;
|
31 | + (void)enableLogging;
|
32 | + (void)delayInitToCheckForSearchAds;
|
33 |
|
34 | @end
|