Skip to content

Commit 0e2f2bf

Browse files
authored
chore: prepare for release 3.0.2 (#383)
* prepare for 3.0.2 * add more info to CHANGELOG * fix message for CHANGELOG
1 parent b6d3119 commit 0e2f2bf

File tree

32 files changed

+86
-75
lines changed

32 files changed

+86
-75
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Optimizely Objective-C SDK Changelog
22

3+
## 3.0.2
4+
February 27th, 2019
5+
6+
This release removes type casting in Swift to NSObject in user attributes
7+
8+
### New Features
9+
* No new features for this patch release.
10+
11+
### Bug Fixes:
12+
* Change all instances of attributes and eventTags from NSDictionary<NSString*,NSObject*> to NSDictionary<NSString*,id>
13+
314
## 3.0.1
415
February 26th, 2019
516

OptimizelySDKCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySDKCore"
3-
s.version = "3.0.1"
3+
s.version = "3.0.2"
44
s.summary = "Optimizely server-side testing core framework."
55
s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }

OptimizelySDKCore/OptimizelySDKCore.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@
22662266
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
22672267
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
22682268
OPTIMIZELY_SDK_VERSION_MINOR = 0;
2269-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
2269+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
22702270
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
22712271
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME)";
22722272
SDKROOT = iphoneos;
@@ -2556,7 +2556,7 @@
25562556
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
25572557
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
25582558
OPTIMIZELY_SDK_VERSION_MINOR = 0;
2559-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
2559+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
25602560
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
25612561
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME)";
25622562
SDKROOT = iphoneos;

OptimizelySDKDatafileManager.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySDKDatafileManager"
3-
s.version = "3.0.1"
3+
s.version = "3.0.2"
44
s.summary = "Optimizely server-side testing datafile manager framework."
55
s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
1616
s.framework = "Foundation"
1717
s.requires_arc = true
1818
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => "OPTIMIZELY_SDK_VERSION=@\\\"#{s.version}\\\"" }
19-
s.dependency 'OptimizelySDKShared', "3.0.1"
19+
s.dependency 'OptimizelySDKShared', "3.0.2"
2020
end

OptimizelySDKDatafileManager/OptimizelySDKDatafileManager.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
743743
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
744744
OPTIMIZELY_SDK_VERSION_MINOR = 0;
745-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
745+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
746746
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
747747
SDKROOT = iphoneos;
748748
SWIFT_VERSION = 4.2;
@@ -813,7 +813,7 @@
813813
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
814814
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
815815
OPTIMIZELY_SDK_VERSION_MINOR = 0;
816-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
816+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
817817
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
818818
SDKROOT = iphoneos;
819819
SWIFT_VERSION = 4.2;

OptimizelySDKEventDispatcher.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySDKEventDispatcher"
3-
s.version = "3.0.1"
3+
s.version = "3.0.2"
44
s.summary = "Optimizely server-side testing event dispatcher framework."
55
s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
1616
s.framework = "Foundation"
1717
s.requires_arc = true
1818
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => "OPTIMIZELY_SDK_VERSION=@\\\"#{s.version}\\\"" }
19-
s.dependency 'OptimizelySDKShared', "3.0.1"
19+
s.dependency 'OptimizelySDKShared', "3.0.2"
2020
end

OptimizelySDKEventDispatcher/OptimizelySDKEventDispatcher.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@
687687
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
688688
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
689689
OPTIMIZELY_SDK_VERSION_MINOR = 0;
690-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
690+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
691691
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
692692
SDKROOT = iphoneos;
693693
SWIFT_VERSION = 4.2;
@@ -760,7 +760,7 @@
760760
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
761761
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
762762
OPTIMIZELY_SDK_VERSION_MINOR = 0;
763-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
763+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
764764
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
765765
SDKROOT = iphoneos;
766766
SWIFT_VERSION = 4.2;

OptimizelySDKShared.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySDKShared"
3-
s.version = "3.0.1"
3+
s.version = "3.0.2"
44
s.summary = "Optimizely server-side testing shared framework."
55
s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
1818
s.ios.library = "sqlite3"
1919
s.requires_arc = true
2020
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => "OPTIMIZELY_SDK_VERSION=@\\\"#{s.version}\\\"" }
21-
s.dependency 'OptimizelySDKCore', "3.0.1"
21+
s.dependency 'OptimizelySDKCore', "3.0.2"
2222
end

OptimizelySDKShared/OptimizelySDKShared.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@
11301130
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
11311131
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
11321132
OPTIMIZELY_SDK_VERSION_MINOR = 0;
1133-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
1133+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
11341134
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
11351135
SDKROOT = iphoneos;
11361136
SWIFT_VERSION = 4.2;
@@ -1203,7 +1203,7 @@
12031203
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
12041204
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
12051205
OPTIMIZELY_SDK_VERSION_MINOR = 0;
1206-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
1206+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
12071207
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
12081208
SDKROOT = iphoneos;
12091209
SWIFT_VERSION = 4.2;

OptimizelySDKTVOS.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySDKTVOS"
3-
s.version = "3.0.1"
3+
s.version = "3.0.2"
44
s.summary = "Optimizely server-side testing framework for tvOS."
55
s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.framework = "Foundation"
1717
s.requires_arc = true
1818
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => "OPTIMIZELY_SDK_VERSION=@\\\"#{s.version}\\\"" }
19-
s.dependency 'OptimizelySDKEventDispatcher', "3.0.1"
20-
s.dependency 'OptimizelySDKUserProfileService', "3.0.1"
21-
s.dependency 'OptimizelySDKDatafileManager', "3.0.1"
19+
s.dependency 'OptimizelySDKEventDispatcher', "3.0.2"
20+
s.dependency 'OptimizelySDKUserProfileService', "3.0.2"
21+
s.dependency 'OptimizelySDKDatafileManager', "3.0.2"
2222
end

OptimizelySDKTVOS/OptimizelySDKTVOS.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
673673
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
674674
OPTIMIZELY_SDK_VERSION_MINOR = 0;
675-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
675+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
676676
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
677677
SDKROOT = appletvos;
678678
SWIFT_VERSION = 4.2;
@@ -773,7 +773,7 @@
773773
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
774774
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
775775
OPTIMIZELY_SDK_VERSION_MINOR = 0;
776-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
776+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
777777
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
778778
SDKROOT = appletvos;
779779
SWIFT_VERSION = 4.2;

OptimizelySDKUniversal/OptimizelySDKUniversal.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@
19511951
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
19521952
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
19531953
OPTIMIZELY_SDK_VERSION_MINOR = 0;
1954-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
1954+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
19551955
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
19561956
RESOURCES_TARGETED_DEVICE_FAMILY = "";
19571957
SDKROOT = iphoneos;
@@ -2024,7 +2024,7 @@
20242024
OPTIMIZELY_SDK_VERSION = "$(OPTIMIZELY_SDK_VERSION_MAJOR).$(OPTIMIZELY_SDK_VERSION_MINOR).$(OPTIMIZELY_SDK_VERSION_PATCH)$(OPTIMIZELY_SDK_VERSION_SUFFIX)";
20252025
OPTIMIZELY_SDK_VERSION_MAJOR = 3;
20262026
OPTIMIZELY_SDK_VERSION_MINOR = 0;
2027-
OPTIMIZELY_SDK_VERSION_PATCH = 1;
2027+
OPTIMIZELY_SDK_VERSION_PATCH = 2;
20282028
OPTIMIZELY_SDK_VERSION_SUFFIX = "";
20292029
RESOURCES_TARGETED_DEVICE_FAMILY = "";
20302030
SDKROOT = iphoneos;

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/OPTLYCondition.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* Evaluate the condition against the user attributes.
2424
*/
25-
- (nullable NSNumber *)evaluateConditionsWithAttributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes projectConfig:(nullable OPTLYProjectConfig *)config;
25+
- (nullable NSNumber *)evaluateConditionsWithAttributes:(nullable NSDictionary<NSString *, id> *)attributes projectConfig:(nullable OPTLYProjectConfig *)config;
2626

2727
@end
2828

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/OPTLYDecisionService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
*/
5555
- (nullable OPTLYVariation *)getVariation:(nonnull NSString *)userId
5656
experiment:(nonnull OPTLYExperiment *)experiment
57-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
57+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
5858

5959
/**
6060
* Get a variation the user is bucketed into for the given FeatureFlag
@@ -65,6 +65,6 @@
6565
*/
6666
- (nullable OPTLYFeatureDecision *)getVariationForFeature:(nonnull OPTLYFeatureFlag *)featureFlag
6767
userId:(nonnull NSString *)userId
68-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
68+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
6969

7070
@end

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/OPTLYEventBuilder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ NS_ASSUME_NONNULL_END
4343
- (nullable NSDictionary *)buildImpressionEventForUser:(nonnull NSString *)userId
4444
experiment:(nonnull OPTLYExperiment *)experiment
4545
variation:(nonnull OPTLYVariation *)variation
46-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
46+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
4747

4848
/**
4949
* Create the parameters for a conversion event.
@@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_END
5858
- (nullable NSDictionary *)buildConversionEventForUser:(nonnull NSString *)userId
5959
event:(nonnull OPTLYEvent *)event
6060
eventTags:(nullable NSDictionary *)eventTags
61-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
61+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
6262
@end
6363

6464
@interface OPTLYEventBuilderDefault : NSObject<OPTLYEventBuilder>

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/OPTLYNotificationCenter.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ typedef NS_ENUM(NSUInteger, OPTLYNotificationType) {
2626

2727
typedef void (^ActivateListener)(OPTLYExperiment * _Nonnull experiment,
2828
NSString * _Nonnull userId,
29-
NSDictionary<NSString *, NSObject *> * _Nullable attributes,
29+
NSDictionary<NSString *, id> * _Nullable attributes,
3030
OPTLYVariation * _Nonnull variation,
31-
NSDictionary<NSString *,NSObject *> * _Nonnull event);
31+
NSDictionary<NSString *,id> * _Nonnull event);
3232

3333
typedef void (^TrackListener)(NSString * _Nonnull eventKey,
3434
NSString * _Nonnull userId,
35-
NSDictionary<NSString *, NSObject *> * _Nullable attributes,
35+
NSDictionary<NSString *, id> * _Nullable attributes,
3636
NSDictionary * _Nullable eventTags,
37-
NSDictionary<NSString *,NSObject *> * _Nonnull event);
37+
NSDictionary<NSString *,id> * _Nonnull event);
3838

3939
typedef void (^GenericListener)(NSDictionary * _Nonnull args);
4040

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/OPTLYProjectConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ __attribute((deprecated("Use OPTLYProjectConfig initWithBuilder method instead."
167167
*/
168168
- (nullable OPTLYVariation *)getVariationForExperiment:(nonnull NSString *)experimentKey
169169
userId:(nonnull NSString *)userId
170-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
170+
attributes:(nullable NSDictionary<NSString *, id> *)attributes
171171
bucketer:(nullable id<OPTLYBucketer>)bucketer;
172172

173173
@end

OptimizelySDKUniversal/generated-frameworks/Release-iOS-universal-SDK/OptimizelySDKiOS.framework/Headers/Optimizely.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
7171
*/
7272
- (nullable OPTLYVariation *)activate:(nonnull NSString *)experimentKey
7373
userId:(nonnull NSString *)userId
74-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
74+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
7575

7676
#pragma mark - getVariation methods
7777
/**
@@ -117,7 +117,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
117117
*/
118118
- (nullable OPTLYVariation *)variation:(nonnull NSString *)experimentKey
119119
userId:(nonnull NSString *)userId
120-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
120+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
121121

122122
#pragma mark - Forced Variation Methods
123123
/**
@@ -182,7 +182,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
182182
*
183183
* @return `YES` if the feature is enabled. `NO` if the feature is disabled or couldn't be found.
184184
*/
185-
- (BOOL)isFeatureEnabled:(nullable NSString *)featureKey userId:(nullable NSString *)userId attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
185+
- (BOOL)isFeatureEnabled:(nullable NSString *)featureKey userId:(nullable NSString *)userId attributes:(nullable NSDictionary<NSString *, id> *)attributes;
186186

187187
/**
188188
* Evaluates the specified boolean feature variable and returns its value.
@@ -203,7 +203,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
203203
- (nullable NSNumber *)getFeatureVariableBoolean:(nullable NSString *)featureKey
204204
variableKey:(nullable NSString *)variableKey
205205
userId:(nullable NSString *)userId
206-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
206+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
207207

208208
/**
209209
* Evaluates the specified double feature variable and returns its value.
@@ -224,7 +224,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
224224
- (nullable NSNumber *)getFeatureVariableDouble:(nullable NSString *)featureKey
225225
variableKey:(nullable NSString *)variableKey
226226
userId:(nullable NSString *)userId
227-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
227+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
228228

229229
/**
230230
* Evaluates the specified integer feature variable and returns its value.
@@ -245,7 +245,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
245245
- (nullable NSNumber *)getFeatureVariableInteger:(nullable NSString *)featureKey
246246
variableKey:(nullable NSString *)variableKey
247247
userId:(nullable NSString *)userId
248-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
248+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
249249

250250
/**
251251
* Evaluates the specified string feature variable and returns its value.
@@ -266,7 +266,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
266266
- (nullable NSString *)getFeatureVariableString:(nullable NSString *)featureKey
267267
variableKey:(nullable NSString *)variableKey
268268
userId:(nullable NSString *)userId
269-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
269+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
270270

271271
/**
272272
* Retrieves a list of features that are enabled for the user.
@@ -284,7 +284,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
284284
* features could be found for the specified user.
285285
*/
286286
- (NSArray<NSString *> *_Nonnull)getEnabledFeatures:(nullable NSString *)userId
287-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
287+
attributes:(nullable NSDictionary<NSString *, id> *)attributes;
288288

289289
#pragma mark - trackEvent methods
290290
/**
@@ -321,7 +321,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
321321
*/
322322
- (void)track:(nonnull NSString *)eventKey
323323
userId:(nonnull NSString *)userId
324-
attributes:(nonnull NSDictionary<NSString *, NSObject *> *)attributes;
324+
attributes:(nonnull NSDictionary<NSString *, id> *)attributes;
325325

326326
/**
327327
* Tracks a conversion event for a user whose attributes meet the default audience conditions for an experiment.
@@ -360,7 +360,7 @@ extern NSString * _Nonnull const OptimizelyNotificationsUserDictionaryExperiment
360360
*/
361361
- (void)track:(nonnull NSString *)eventKey
362362
userId:(nonnull NSString *)userId
363-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
363+
attributes:(nullable NSDictionary<NSString *, id> *)attributes
364364
eventTags:(nullable NSDictionary<NSString *, id> *)eventTags;
365365

366366
@end
@@ -414,7 +414,7 @@ __attribute((deprecated("Use Optimizely initWithBuilder method instead.")));
414414
*/
415415
- (void)track:(nonnull NSString *)eventKey
416416
userId:(nonnull NSString *)userId
417-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
417+
attributes:(nullable NSDictionary<NSString *, id> *)attributes
418418
eventTags:(nullable NSDictionary<NSString *, id> *)eventTags;
419419

420420
@end

OptimizelySDKUniversal/generated-frameworks/Release-tvOS-universal-SDK/OptimizelySDKTVOS.framework/Headers/OPTLYCondition.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* Evaluate the condition against the user attributes.
2424
*/
25-
- (nullable NSNumber *)evaluateConditionsWithAttributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes projectConfig:(nullable OPTLYProjectConfig *)config;
25+
- (nullable NSNumber *)evaluateConditionsWithAttributes:(nullable NSDictionary<NSString *, id> *)attributes projectConfig:(nullable OPTLYProjectConfig *)config;
2626

2727
@end
2828

0 commit comments

Comments
 (0)