mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
pragma mark
This commit is contained in:
10
CodePush.m
10
CodePush.m
@@ -15,10 +15,6 @@ RCT_EXPORT_MODULE()
|
||||
|
||||
#pragma mark - Private constants
|
||||
|
||||
static BOOL needToReportRollback = NO;
|
||||
static BOOL isRunningBinaryVersion = NO;
|
||||
static BOOL testConfigurationFlag = NO;
|
||||
|
||||
// These constants represent valid deployment statuses
|
||||
static NSString *const DeploymentFailed = @"DeploymentFailed";
|
||||
static NSString *const DeploymentSucceeded = @"DeploymentSucceeded";
|
||||
@@ -38,6 +34,12 @@ static NSString *const BinaryBundleDateKey = @"binaryDate";
|
||||
static NSString *const PackageHashKey = @"packageHash";
|
||||
static NSString *const PackageIsPendingKey = @"isPending";
|
||||
|
||||
#pragma mark - Static variables
|
||||
|
||||
static BOOL needToReportRollback = NO;
|
||||
static BOOL isRunningBinaryVersion = NO;
|
||||
static BOOL testConfigurationFlag = NO;
|
||||
|
||||
// These values are used to save the bundleURL and extension for the JS bundle
|
||||
// in the binary.
|
||||
static NSString *bundleResourceExtension = @"jsbundle";
|
||||
|
||||
Reference in New Issue
Block a user