mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-19 19:39:54 +08:00
download-progress
This commit is contained in:
14
CodePush.h
14
CodePush.h
@@ -1,5 +1,12 @@
|
||||
#import "RCTBridgeModule.h"
|
||||
|
||||
@interface CodePush : NSObject<RCTBridgeModule>
|
||||
|
||||
+ (NSURL *)getBundleUrl;
|
||||
+ (NSString *)getDocumentsDirectory;
|
||||
|
||||
@end
|
||||
|
||||
@interface CodePushConfig : NSObject
|
||||
|
||||
+ (void)setDeploymentKey:(NSString *)deploymentKey;
|
||||
@@ -40,13 +47,6 @@ failCallback:(void (^)(NSError *err))failCallback;
|
||||
|
||||
@end
|
||||
|
||||
@interface CodePush : NSObject<RCTBridgeModule>
|
||||
|
||||
+ (NSURL *)getBundleUrl;
|
||||
+ (NSString *)getDocumentsDirectory;
|
||||
|
||||
@end
|
||||
|
||||
@interface CodePushPackage : NSObject
|
||||
|
||||
+ (void)applyPackage:(NSDictionary *)updatePackage
|
||||
|
||||
Reference in New Issue
Block a user