This commit is contained in:
Geoffrey Goh
2016-01-27 00:23:02 -08:00
parent bea2b9c178
commit 35539d15b4
6 changed files with 171 additions and 141 deletions

View File

@@ -88,6 +88,17 @@ failCallback:(void (^)(NSError *err))failCallback;
@end
@interface CodePushStatusReport : NSObject
+ (NSString *)getDeploymentKeyFromStatusReportIdentifier:(NSString *)statusReportIdentifier;
+ (NSString *)getPackageStatusReportIdentifier:(NSDictionary *)package;
+ (NSString *)getPreviousStatusReportIdentifier;
+ (NSString *)getVersionLabelFromStatusReportIdentifier:(NSString *)statusReportIdentifier;
+ (BOOL)isStatusReportIdentifierCodePushLabel:(NSString *)statusReportIdentifier;
+ (void)recordDeploymentStatusReported:(NSString *)appVersionOrPackageIdentifier;
@end
typedef NS_ENUM(NSInteger, CodePushInstallMode) {
CodePushInstallModeImmediate,
CodePushInstallModeOnNextRestart,