Restart on resume

This commit is contained in:
Jonathan Carter
2015-11-15 12:46:47 -08:00
parent 92112abda4
commit c56a6f2935
6 changed files with 115 additions and 36 deletions

View File

@@ -70,4 +70,10 @@ failCallback:(void (^)(NSError *err))failCallback;
+ (void)rollbackPackage;
@end
@end
typedef NS_ENUM(NSInteger, CodePushRestartMode) {
CodePushRestartModeNone,
CodePushRestartModeImmediate,
CodePushRestartModeOnNextResume
};