1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/ios/RCTPushy/RCTPushyManager.h
2021-10-06 00:33:54 +08:00

28 lines
939 B
Objective-C

#import <Foundation/Foundation.h>
@interface RCTPushyManager : NSObject
- (BOOL)createDir:(NSString *)dir;
- (void)unzipFileAtPath:(NSString *)path
toDestination:(NSString *)destination
progressHandler:(void (^)(NSString *entry, long entryNumber, long total))progressHandler
completionHandler:(void (^)(NSString *path, BOOL succeeded, NSError *error))completionHandler;
- (void)hdiffFileAtPath:(NSString *)path
fromOrigin:(NSString *)origin
toDestination:(NSString *)destination
completionHandler:(void (^)(BOOL success))completionHandler;
- (void)copyFiles:(NSDictionary *)filesDic
fromDir:(NSString *)fromDir
toDir:(NSString *)toDir
deletes:(NSDictionary *)deletes
completionHandler:(void (^)(NSError *error))completionHandler;
- (void)removeFile:(NSString *)filePath
completionHandler:(void (^)(NSError *error))completionHandler;
@end