mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
28 lines
595 B
Objective-C
28 lines
595 B
Objective-C
#import "RCTBridgeModule.h"
|
|
|
|
@interface CodePush : NSObject <RCTBridgeModule>
|
|
|
|
+ (NSURL *) getBundleUrl;
|
|
|
|
@end
|
|
|
|
@interface CodePushConfig : NSObject
|
|
|
|
+ (void)setDeploymentKey:(NSString *)deploymentKey;
|
|
+ (NSString *)getDeploymentKey;
|
|
|
|
+ (void)setServerUrl:(NSString *)setServerUrl;
|
|
+ (NSString *)getServerUrl;
|
|
|
|
+ (void)setAppVersion:(NSString *)appVersion;
|
|
+ (NSString *)getAppVersion;
|
|
|
|
+ (void)setBuildVersion:(NSString *)buildVersion;
|
|
+ (NSString *)getBuildVersion;
|
|
|
|
+ (void)setRootComponent:(NSString *)rootComponent;
|
|
+ (NSString *)getRootComponent;
|
|
|
|
+ (NSDictionary *)getConfiguration;
|
|
|
|
@end |