Skip to content

Commit

Permalink
refactor: bridging header imports for TikTok SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
enestatli committed Oct 16, 2024
1 parent 46c080f commit 981a13d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Minimum Xcode version: 10.0
4. Update your AppDelegate.m
```objc
#import <tiktok_opensdk_react_native/tiktok_opensdk_react_native-Swift.h>
#import <TiktokOpensdkReactNative-Bridging-Header.h>
@implementation AppDelegate
Expand Down
7 changes: 6 additions & 1 deletion ios/TiktokOpensdkReactNative-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#import <React/RCTBridgeModule.h>
#import <React/RCTBridgeModule.h>

@interface TiktokOpensdkReactNative : NSObject <RCTBridgeModule>
+ (BOOL)handleOpenURL:(NSURL *)url;
+ (BOOL)handleUserActivity:(NSUserActivity *)userActivity;
@end

0 comments on commit 981a13d

Please sign in to comment.