Skip to content

Commit ad04822

Browse files
authored
Fixed iOS warnings for remote config (#113)
1 parent d8c0649 commit ad04822

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ios/Classes/CountlyiOS/CountlyConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ extern CLYRequestResult const CLYResponseNetworkIssue;
105105
extern CLYRequestResult const CLYResponseSuccess;
106106
extern CLYRequestResult const CLYResponseError;
107107

108-
typedef void (^RCVariantCallback)(CLYRequestResult response, NSError * error);
108+
typedef void (^RCVariantCallback)(CLYRequestResult response, NSError *_Nullable error);
109109

110-
typedef void (^RCDownloadCallback)(CLYRequestResult response, NSError * error, BOOL fullValueUpdate, NSDictionary<NSString *, CountlyRCData *>* downloadedValues);
110+
typedef void (^RCDownloadCallback)(CLYRequestResult response, NSError *_Nullable error, BOOL fullValueUpdate, NSDictionary<NSString *, CountlyRCData *>* downloadedValues);
111111

112112
//NOTE: Internal log levels
113113
typedef enum : NSUInteger

ios/Classes/CountlyiOS/CountlyRemoteConfigInternal.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ - (void)testingDownloadAllVariantsInternal:(void (^)(CLYRequestResult response,
465465
else {
466466
[valuesArray addObject:arrayValue];
467467
}
468-
printf("%s", valueType);
469468
}];
470469
variants[key] = valuesArray;
471470
}];

0 commit comments

Comments
 (0)