Skip to content

Commit 0d385fc

Browse files
committed
Releasing SDK v1.2
1 parent a476768 commit 0d385fc

File tree

27 files changed

+68
-89
lines changed

27 files changed

+68
-89
lines changed
-3.09 MB
Binary file not shown.

BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/MSNetwork.h

Lines changed: 0 additions & 69 deletions
This file was deleted.
-702 Bytes
Binary file not shown.
-4.16 KB
Binary file not shown.
-3.9 KB
Binary file not shown.
-366 Bytes
Binary file not shown.
3.43 MB
Binary file not shown.

BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/Beaconstac.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/Beaconstac.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@
116116
*/
117117
- (void)beaconstac:(Beaconstac*)beaconstac failedToSyncRulesWithError:(NSError *)error;
118118

119+
/**
120+
* Called when rule sync call to the server is finished. Returns the Rule dictionary and error, if any
121+
*/
122+
- (void)beaconstac:(Beaconstac*)beaconstac didSyncRules:(NSDictionary*)ruleDict withError:(NSError *)error;
123+
119124
@end
120125

121126
/**
@@ -250,5 +255,4 @@ typedef NS_ENUM (NSUInteger, MSUIAction){
250255
*/
251256
- (void)logEventWithActionType:(MSUIAction)actionType andMessage:(NSString*)message;
252257

253-
254258
@end

BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/MSAction.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/MSAction.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ typedef NS_ENUM (NSUInteger, MSActionType) {
2424
MSActionTypeWebpage = 2,
2525
MSActionTypeCard = 3,
2626
MSActionTypeWebhook = 4,
27-
MSActionTypeCustom = 5
27+
MSActionTypeCustom = 5,
28+
MSActionTypeNotification = 6
2829
};
2930

3031
@interface MSAction : NSObject
@@ -47,7 +48,7 @@ typedef NS_ENUM (NSUInteger, MSActionType) {
4748

4849
/**
4950
* Represents the message of the action. This can have
50-
* text, url, JSON depending on the type of action
51+
* text, url, JSON, MSCard or MSNotification depending on the type of action
5152
*/
5253
@property (nonatomic, strong) id message;
5354

BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/MSBeacon.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/MSBeacon.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,10 @@
9898
*/
9999
+ (void)fetchAllBeaconsWithCompletionBlock:(void (^)(NSDictionary *beaconsDictionary, NSError *error))completionBlock;
100100

101+
/**
102+
* Returns a dictionary of Beacons associated with the account on specificed page number.
103+
* Each page can have a maximum of 100 beacons
104+
*/
105+
+ (void)fetchBeaconsPage:(int)page withCompletionBlock:(void (^)(NSDictionary *beaconsDictionary, NSDictionary *response, NSError *error))completionBlock;
106+
101107
@end

0 commit comments

Comments
 (0)