feat: You can now share files & text from other apps into SN on iOS (#2358)

This commit is contained in:
Aman Harwara
2023-07-15 15:05:49 +05:30
committed by GitHub
parent 61043aee65
commit 88ef5887a9
12 changed files with 930 additions and 40 deletions

View File

@@ -0,0 +1,14 @@
#import <React/RCTBridgeModule.h>
#import <Photos/Photos.h>
@interface RCT_EXTERN_MODULE(ReceiveSharingIntent, NSObject)
RCT_EXTERN_METHOD(getFileNames:(NSString)url
resolver:(RCTPromiseResolveBlock)resolve
rejecter: (RCTPromiseRejectBlock)reject);
RCT_EXTERN_METHOD(clearFileNames)
@end