Skip to content

Commit e5d967f

Browse files
authored
Merge pull request #144 from armcknight/fix/armcknight/type-safe-segmentation
declare crashSegmentation key type as NSString
2 parents de72e38 + 517728a commit e5d967f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CountlyConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ extern NSString* const CLYConsentAppleWatch;
220220
/**
221221
* For using custom crash segmentation with @c CLYCrashReporting feature.
222222
*/
223-
@property (nonatomic, copy) NSDictionary* crashSegmentation;
223+
@property (nonatomic, copy) NSDictionary<NSString*, id>* crashSegmentation;
224224

225225
/**
226226
* Crash log limit is used for limiting the number of crash logs to be stored on the device.

CountlyCrashReporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@interface CountlyCrashReporter : NSObject
1010
#if TARGET_OS_IOS
1111
@property (nonatomic) BOOL isEnabledOnInitialConfig;
12-
@property (nonatomic) NSDictionary* crashSegmentation;
12+
@property (nonatomic) NSDictionary<NSString*, id>* crashSegmentation;
1313
@property (nonatomic) NSUInteger crashLogLimit;
1414

1515
+ (instancetype)sharedInstance;

0 commit comments

Comments
 (0)