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)handleDeepLink:(NSURL * _Nonnull)url __deprecated_msg("Please use [RNBranch.branch application:openURL:options] or [RNBranch.branch application:openURL:sourceApplication:annotation:] instead.");
|
20 | #pragma clang diagnostic push
|
21 | #pragma clang diagnostic ignored "-Wpartial-availability"
|
22 | + (BOOL)continueUserActivity:(NSUserActivity * _Nonnull)userActivity;
|
23 | #pragma clang diagnostic pop
|
24 |
|
25 |
|
26 | + (void)useTestInstance;
|
27 | + (void)deferInitializationForJSLoad;
|
28 |
|
29 | + (void)setDebug;
|
30 | + (void)delayInitToCheckForSearchAds;
|
31 | + (void)setAppleSearchAdsDebugMode;
|
32 | + (void)setRequestMetadataKey:(NSString * _Nonnull)key value:(NSObject * _Nonnull)value;
|
33 |
|
34 | @end
|