Skip to content

Commit 5750115

Browse files
build generated frameworks
1 parent ae862a9 commit 5750115

File tree

15 files changed

+38
-67
lines changed

15 files changed

+38
-67
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/// Condition type
3232
@property (nonatomic, strong) NSString *type;
3333
/// Condition value
34-
@property (nonatomic, strong) NSObject *value;
34+
@property (nonatomic, strong) NSString *value;
3535

3636
+(BOOL)isBaseConditionJSON:(NSData *)jsonData;
3737

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
@@ -21,7 +21,7 @@
2121
/**
2222
* Evaluate the condition against the user attributes.
2323
*/
24-
- (BOOL)evaluateConditionsWithAttributes:(NSDictionary<NSString *, NSObject *> *)attributes;
24+
- (BOOL)evaluateConditionsWithAttributes:(NSDictionary<NSString *, NSString *> *)attributes;
2525

2626
@end
2727

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 *)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 *)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 *, NSString *> *)attributes;
4747

4848
/**
4949
* Create the parameters for a conversion event.
@@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_END
5959
event:(nonnull OPTLYEvent *)event
6060
decisions:(nonnull NSArray<NSDictionary *> *)decisions
6161
eventTags:(nullable NSDictionary *)eventTags
62-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
62+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
6363
@end
6464

6565
@interface OPTLYEventBuilderDefault : NSObject<OPTLYEventBuilder>

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,35 +29,6 @@
2929
*/
3030

3131
@protocol OPTLYExperiment
32-
33-
/// The experiment's ID.
34-
@property (nonatomic, strong, nonnull) NSString *experimentId;
35-
/// The experiment's Key.
36-
@property (nonatomic, strong, nonnull) NSString *experimentKey;
37-
/// The experiment's status.
38-
@property (nonatomic, strong, nonnull) NSString *status;
39-
/// The group ID the experiment belongs to.
40-
@property (nonatomic, strong, nullable) NSString<Ignore> *groupId;
41-
/// The experiment's traffic allocations.
42-
@property (nonatomic, strong, nonnull) NSArray<OPTLYTrafficAllocation> *trafficAllocations;
43-
/// An array of audience Ids for the experiment
44-
@property (nonatomic, strong, nonnull) NSArray<NSString *> *audienceIds;
45-
/// An array of variation Ids for the experiment
46-
@property (nonatomic, strong, nonnull) NSArray<OPTLYVariation> *variations;
47-
/// A dictionary indicating the forced and control variation
48-
@property (nonatomic, strong, nonnull) NSDictionary<NSString *, NSString *> *forcedVariations;
49-
/// Personalization layer id
50-
@property (nonatomic, strong, nonnull) NSString *layerId;
51-
52-
/// Gets the variation object for a given variation id
53-
- (nullable OPTLYVariation *)getVariationForVariationId:(nonnull NSString *)variationId;
54-
/// Gets the variation object for a given variation key
55-
- (nullable OPTLYVariation *)getVariationForVariationKey:(nonnull NSString *)variationKey;
56-
57-
/// Determines if the experiment is running
58-
- (BOOL)isExperimentRunning;
59-
60-
6132
@end
6233

6334
NS_ASSUME_NONNULL_BEGIN

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

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

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

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

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ NS_ASSUME_NONNULL_END
4949
/// Flag for Bot Filtering
5050
@property (nonatomic, strong, nonnull) NSNumber<OPTLYOptional> *botFiltering;
5151
/// List of Optimizely Experiment objects
52-
@property (nonatomic, strong, nonnull) NSArray<id<OPTLYExperiment>> *experiments;
52+
@property (nonatomic, strong, nonnull) NSArray<OPTLYExperiment*><OPTLYExperiment> *experiments;
5353
/// List of Optimizely Event Type objects
54-
@property (nonatomic, strong, nonnull) NSArray<OPTLYEvent> *events;
54+
@property (nonatomic, strong, nonnull) NSArray<OPTLYEvent *><OPTLYEvent> *events;
5555
/// List of audience ids
56-
@property (nonatomic, strong, nonnull) NSArray<OPTLYAudience> *audiences;
56+
@property (nonatomic, strong, nonnull) NSArray<OPTLYAudience *><OPTLYAudience> *audiences;
5757
/// List of attributes objects
58-
@property (nonatomic, strong, nonnull) NSArray<OPTLYAttribute> *attributes;
58+
@property (nonatomic, strong, nonnull) NSArray<OPTLYAttribute*><OPTLYAttribute> *attributes;
5959
/// List of group objects
60-
@property (nonatomic, strong, nonnull) NSArray<OPTLYGroup> *groups;
60+
@property (nonatomic, strong, nonnull) NSArray<OPTLYGroup*><OPTLYGroup> *groups;
6161
/// List of live variable objects (DEPRECATED)
62-
@property (nonatomic, strong, nonnull) NSArray<OPTLYVariable, OPTLYOptional> *variables;
62+
@property (nonatomic, strong, nonnull) NSArray<OPTLYVariable *><OPTLYVariable, OPTLYOptional> *variables;
6363

6464
/// a comprehensive list of experiments that includes experiments being whitelisted (in Groups)
65-
@property (nonatomic, strong, nullable) NSArray<OPTLYExperiment, Ignore> *allExperiments;
65+
@property (nonatomic, strong, nullable) NSArray<OPTLYExperiment*><OPTLYExperiment, OPTLYOptional> *allExperiments;
6666
@property (nonatomic, strong, nullable) id<OPTLYLogger, Ignore> logger;
6767
@property (nonatomic, strong, nullable) id<OPTLYErrorHandler, Ignore> errorHandler;
6868
@property (nonatomic, strong, readonly, nullable) id<OPTLYUserProfileService, Ignore> userProfileService;
@@ -72,9 +72,9 @@ NS_ASSUME_NONNULL_END
7272
/// Returns the client version number
7373
@property (nonatomic, strong, readonly, nonnull) NSString<Ignore> *clientVersion;
7474
/// List of Optimizely Feature Flags objects
75-
@property (nonatomic, strong, nonnull) NSArray<OPTLYFeatureFlag, OPTLYOptional> *featureFlags;
75+
@property (nonatomic, strong, nonnull) NSArray<OPTLYFeatureFlag*><OPTLYFeatureFlag, OPTLYOptional> *featureFlags;
7676
/// List of Optimizely Rollouts objects
77-
@property (nonatomic, strong, nonnull) NSArray<OPTLYRollout, OPTLYOptional> *rollouts;
77+
@property (nonatomic, strong, nonnull) NSArray<OPTLYRollout*><OPTLYRollout, OPTLYOptional> *rollouts;
7878

7979
/**
8080
* Initialize the Project Config from a builder block.
@@ -172,7 +172,7 @@ __attribute((deprecated("Use OPTLYProjectConfig initWithBuilder method instead."
172172
*/
173173
- (nullable OPTLYVariation *)getVariationForExperiment:(nonnull NSString *)experimentKey
174174
userId:(nonnull NSString *)userId
175-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
175+
attributes:(nullable NSDictionary<NSString *,NSString *> *)attributes
176176
bucketer:(nullable id<OPTLYBucketer>)bucketer;
177177

178178
@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
@@ -63,7 +63,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
6363
*/
6464
- (nullable OPTLYVariation *)activate:(nonnull NSString *)experimentKey
6565
userId:(nonnull NSString *)userId
66-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
66+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
6767

6868
#pragma mark - getVariation methods
6969
/**
@@ -90,7 +90,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
9090
*/
9191
- (nullable OPTLYVariation *)variation:(nonnull NSString *)experimentKey
9292
userId:(nonnull NSString *)userId
93-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
93+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
9494

9595
#pragma mark - Forced Variation Methods
9696
/**
@@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
135135
* @param attributes The user's attributes.
136136
* @return YES if feature is enabled, false otherwise.
137137
*/
138-
- (BOOL)isFeatureEnabled:(nullable NSString *)featureKey userId:(nullable NSString *)userId attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
138+
- (BOOL)isFeatureEnabled:(nullable NSString *)featureKey userId:(nullable NSString *)userId attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
139139

140140
/**
141141
* Gets boolean feature variable value.
@@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
148148
- (nullable NSNumber *)getFeatureVariableBoolean:(nullable NSString *)featureKey
149149
variableKey:(nullable NSString *)variableKey
150150
userId:(nullable NSString *)userId
151-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
151+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
152152

153153
/**
154154
* Gets double feature variable value.
@@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
161161
- (nullable NSNumber *)getFeatureVariableDouble:(nullable NSString *)featureKey
162162
variableKey:(nullable NSString *)variableKey
163163
userId:(nullable NSString *)userId
164-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
164+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
165165

166166
/**
167167
* Gets integer feature variable value.
@@ -174,7 +174,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
174174
- (nullable NSNumber *)getFeatureVariableInteger:(nullable NSString *)featureKey
175175
variableKey:(nullable NSString *)variableKey
176176
userId:(nullable NSString *)userId
177-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
177+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
178178

179179
/**
180180
* Gets string feature variable value.
@@ -187,7 +187,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
187187
- (nullable NSString *)getFeatureVariableString:(nullable NSString *)featureKey
188188
variableKey:(nullable NSString *)variableKey
189189
userId:(nullable NSString *)userId
190-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
190+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
191191

192192
/**
193193
* Get array of features that are enabled for the user.
@@ -196,7 +196,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
196196
* @return NSArray<NSString> Array of feature keys that are enabled for the user.
197197
*/
198198
- (NSArray<NSString *> *_Nonnull)getEnabledFeatures:(nullable NSString *)userId
199-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes;
199+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes;
200200

201201
#pragma mark - trackEvent methods
202202
/**
@@ -215,7 +215,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
215215
*/
216216
- (void)track:(nonnull NSString *)eventKey
217217
userId:(nonnull NSString *)userId
218-
attributes:(nonnull NSDictionary<NSString *, NSObject *> *)attributes;
218+
attributes:(nonnull NSDictionary<NSString *, NSString *> *)attributes;
219219

220220
/**
221221
* Track an event
@@ -236,7 +236,7 @@ typedef NS_ENUM(NSInteger, OPTLYLiveVariableError) {
236236
*/
237237
- (void)track:(nonnull NSString *)eventKey
238238
userId:(nonnull NSString *)userId
239-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
239+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes
240240
eventTags:(nullable NSDictionary<NSString *, id> *)eventTags;
241241

242242
////////////////////////////////////////////////////////////////
@@ -584,7 +584,7 @@ __attribute((deprecated("Use Optimizely initWithBuilder method instead.")));
584584
*/
585585
- (void)track:(nonnull NSString *)eventKey
586586
userId:(nonnull NSString *)userId
587-
attributes:(nullable NSDictionary<NSString *, NSObject *> *)attributes
587+
attributes:(nullable NSDictionary<NSString *, NSString *> *)attributes
588588
eventTags:(nullable NSDictionary<NSString *, id> *)eventTags;
589589

590590
@end

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ NS_ASSUME_NONNULL_END
4949
/// Flag for Bot Filtering
5050
@property (nonatomic, strong, nonnull) NSNumber<OPTLYOptional> *botFiltering;
5151
/// List of Optimizely Experiment objects
52-
@property (nonatomic, strong, nonnull) NSArray<OPTLYExperiment> *experiments;
52+
@property (nonatomic, strong, nonnull) NSArray<OPTLYExperiment*><OPTLYExperiment> *experiments;
5353
/// List of Optimizely Event Type objects
54-
@property (nonatomic, strong, nonnull) NSArray<OPTLYEvent> *events;
54+
@property (nonatomic, strong, nonnull) NSArray<OPTLYEvent *><OPTLYEvent> *events;
5555
/// List of audience ids
56-
@property (nonatomic, strong, nonnull) NSArray<OPTLYAudience> *audiences;
56+
@property (nonatomic, strong, nonnull) NSArray<OPTLYAudience *><OPTLYAudience> *audiences;
5757
/// List of attributes objects
58-
@property (nonatomic, strong, nonnull) NSArray<OPTLYAttribute> *attributes;
58+
@property (nonatomic, strong, nonnull) NSArray<OPTLYAttribute*><OPTLYAttribute> *attributes;
5959
/// List of group objects
60-
@property (nonatomic, strong, nonnull) NSArray<OPTLYGroup> *groups;
60+
@property (nonatomic, strong, nonnull) NSArray<OPTLYGroup*><OPTLYGroup> *groups;
6161
/// List of live variable objects (DEPRECATED)
62-
@property (nonatomic, strong, nonnull) NSArray<OPTLYVariable, OPTLYOptional> *variables;
62+
@property (nonatomic, strong, nonnull) NSArray<OPTLYVariable *><OPTLYVariable, OPTLYOptional> *variables;
6363

6464
/// a comprehensive list of experiments that includes experiments being whitelisted (in Groups)
65-
@property (nonatomic, strong, nullable) NSArray<OPTLYExperiment, Ignore> *allExperiments;
65+
@property (nonatomic, strong, nullable) NSArray<OPTLYExperiment*><OPTLYExperiment, OPTLYOptional> *allExperiments;
6666
@property (nonatomic, strong, nullable) id<OPTLYLogger, Ignore> logger;
6767
@property (nonatomic, strong, nullable) id<OPTLYErrorHandler, Ignore> errorHandler;
6868
@property (nonatomic, strong, readonly, nullable) id<OPTLYUserProfileService, Ignore> userProfileService;
@@ -72,9 +72,9 @@ NS_ASSUME_NONNULL_END
7272
/// Returns the client version number
7373
@property (nonatomic, strong, readonly, nonnull) NSString<Ignore> *clientVersion;
7474
/// List of Optimizely Feature Flags objects
75-
@property (nonatomic, strong, nonnull) NSArray<OPTLYFeatureFlag, OPTLYOptional> *featureFlags;
75+
@property (nonatomic, strong, nonnull) NSArray<OPTLYFeatureFlag*><OPTLYFeatureFlag, OPTLYOptional> *featureFlags;
7676
/// List of Optimizely Rollouts objects
77-
@property (nonatomic, strong, nonnull) NSArray<OPTLYRollout, OPTLYOptional> *rollouts;
77+
@property (nonatomic, strong, nonnull) NSArray<OPTLYRollout*><OPTLYRollout, OPTLYOptional> *rollouts;
7878

7979
/**
8080
* Initialize the Project Config from a builder block.

0 commit comments

Comments
 (0)