Skip to content

Commit ebc29fa

Browse files
committed
Releasing SDK v1.3
1 parent 489fda1 commit ebc29fa

File tree

22 files changed

+266
-3
lines changed

22 files changed

+266
-3
lines changed
3.43 MB
Binary file not shown.

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323

2424
#import <Foundation/Foundation.h>
25+
#import <UIKit/UIKit.h>
2526
#import "MSLogger.h"
2627
#import "MSBeacon.h"
2728
#import "MSBeaconManager.h"
@@ -30,6 +31,7 @@
3031
#import "MSCard.h"
3132
#import "MSMedia.h"
3233
#import "MSIdentity.h"
34+
#import "MSNotification.h"
3335

3436
@class Beaconstac;
3537

@@ -184,6 +186,14 @@ typedef NS_ENUM (NSUInteger, MSUIAction){
184186
*/
185187
@property (nonatomic, strong) NSMutableDictionary *factsDictionary;
186188

189+
/**
190+
* If set to True, the app would be able to range beacons and trigger rules while
191+
* in the background. Default state is False.
192+
* Note: You should enable the background location updates under the Capabilities
193+
* tab of your project target in Xcode.
194+
*/
195+
@property (nonatomic) BOOL allowRangingInBackground;
196+
187197
/**
188198
* Returns the previously instantiated singleton instance of Beaconstac.
189199
*/
@@ -246,6 +256,14 @@ typedef NS_ENUM (NSUInteger, MSUIAction){
246256
*/
247257
- (void)updateFact:(id)fact forKey:(NSString*)key;
248258

259+
/**
260+
* This should be called inside AppDelegate's delegate method:
261+
* application:handleActionWithIdentifier:forLocalNotification:completionHandler:
262+
*
263+
* It handles the action associated with Local notification's buttons
264+
*/
265+
+ (void)handleNotification:(UILocalNotification*)notification forApplication:(UIApplication*)application;
266+
249267
/**
250268
* Used to log user events to server such as when the user views
251269
* or clicks on a message shown by the SDK as a result of rule processing.
File renamed without changes.
File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/MSBeaconManager.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3/Headers/MSBeaconManager.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ typedef NS_ENUM (NSUInteger, MSBeaconAffinity)
118118
*/
119119
@property (strong, nonatomic) MSBeacon *campedOnBeacon;
120120

121+
/**
122+
* If set to True, the app would be able to range beacons and trigger rules while
123+
* in the background. Default state is False.
124+
* Please note that you should enable the background location updates under the
125+
* Capabilities tab of your project target in Xcode.
126+
*/
127+
@property (nonatomic) BOOL allowRangingInBackground;
128+
121129
/**
122130
* Initializes a MSBeaconManager to monitor all beacons with the
123131
* given UUID and identifier.

BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/MSCard.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3/Headers/MSCard.h

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,29 @@ typedef NS_ENUM (NSUInteger, MSCardType) {
6969
@property (nonatomic, strong) NSDate *modified;
7070

7171
/**
72-
* Represents an array of tags associated to the card
72+
* Represents an array of tags associated with the card
7373
*/
7474
@property (nonatomic, strong) NSArray *tags;
7575

76+
/**
77+
* Represents id of the MSNotification associated with the card
78+
* @see MSNotification
79+
*/
80+
@property (nonatomic, strong) NSNumber *notification;
81+
82+
/**
83+
* Represents action associated with OK button of the card
84+
*/
85+
@property (nonatomic, strong) NSString *okAction;
86+
87+
/**
88+
* Represents title on the OK button of the card
89+
*/
90+
@property (nonatomic, strong) NSString *okLabel;
91+
92+
/**
93+
* Represents title on Cancel button of the card
94+
*/
95+
@property (nonatomic, strong) NSString *cancelLabel;
96+
7697
@end

BeaconstacSDK/Beaconstac.framework/Versions/1.2/Headers/MSConstants.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3/Headers/MSConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/**
3939
* SDK properties
4040
*/
41-
#define SDK_VERSION @"1.2"
41+
#define SDK_VERSION @"1.3"
4242
#define EVENT_LOG_VERSION @1.1
4343

4444
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)