fix for ios7

This commit is contained in:
Geoffrey Goh
2016-05-06 17:48:29 -07:00
parent 3d96100095
commit dda1e2b859
2 changed files with 11 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ static NSString *const LastDeploymentReportKey = @"CODE_PUSH_LAST_DEPLOYMENT_REP
+ (BOOL)isStatusReportIdentifierCodePushLabel:(NSString *)statusReportIdentifier
{
return statusReportIdentifier != nil && [statusReportIdentifier containsString:@":"];
return statusReportIdentifier != nil && [statusReportIdentifier rangeOfString:@":"].location != NSNotFound;
}
+ (void)recordDeploymentStatusReported:(NSString *)appVersionOrPackageIdentifier