Skip to content

Commit 11749bc

Browse files
committed
Releasing SDK v1.5.3
1 parent 29e245c commit 11749bc

File tree

30 files changed

+161
-28
lines changed

30 files changed

+161
-28
lines changed
8.71 MB
Binary file not shown.

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/Beaconstac.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/Beaconstac.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,13 @@ typedef NS_ENUM (NSUInteger, MSUIAction){
214214
@property (nonatomic, strong) NSMutableDictionary *factsDictionary;
215215

216216
/**
217-
* If set to True, the app would be able to range beacons and trigger rules while
218-
* in the background. Default state is False.
217+
* RegionMonitoringRequired: Beacon Region Monitoring
218+
* AllowRangingInBackground: Range beacons and trigger rules
219219
* Note: You should enable the background location updates under the Capabilities
220220
* tab of your project target in Xcode.
221+
* RangeOnDisplayWakeUp: Range for 10 seconds when woken up.
221222
*/
222-
@property (nonatomic) BOOL allowRangingInBackground;
223+
@property (nonatomic) Usage usageRequirement;
223224

224225
/**
225226
* Returns the previously instantiated singleton instance of Beaconstac.

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/MSAction.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/MSAction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// MSAction.h
33
// Beaconstac
44
//
5-
// Copyright (c) 2016 Mobstac. All rights reserved.
5+
// Copyright (c) 2017 Mobstac. All rights reserved.
66
//
77
// All information contained herein is, and remains the property of MobStac Inc.
88
// The intellectual and technical concepts contained herein are proprietary to
File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/MSBeaconManager.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/MSBeaconManager.h

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,30 @@ typedef NS_ENUM (NSUInteger, MSBeaconAffinity)
9595

9696
@end
9797

98+
/**
99+
* Type of services for setting the values of the Location Authorization
100+
*/
101+
typedef NS_ENUM (NSUInteger){
102+
AlwaysForRangingAndMonitoring = 0,
103+
WhenInUseForRanging = 1
104+
} LocationAccessPermission;
105+
106+
/**
107+
* RegionMonitoringRequired: If selected, the app would be able to monitor.
108+
*
109+
* AllowRangingInBackground: If selected, the app would be able to range beacons and trigger rules while
110+
* in the background. Default state is False.
111+
* Note: You should enable the background location updates under the Capabilities
112+
* tab of your project target in Xcode.
113+
*
114+
* RangeOnDisplayWakeUp: If selected, the app would range for 10 seconds when woken up (when the phone is locked and display is on).
115+
*/
116+
typedef NS_OPTIONS (NSUInteger, Usage){
117+
UsageForegroundRangingRequired = 0,
118+
UsageRegionMonitoringRequired = 1 << 0,
119+
UsageAllowRangingInBackground = 1 << 1,
120+
UsageRangeOnDisplayWakeUp = 1 << 2
121+
};
98122

99123
/**
100124
* Manages all the beacons around and presents callbacks using the protocol.
@@ -150,6 +174,22 @@ typedef NS_ENUM (NSUInteger, MSBeaconAffinity)
150174
*/
151175
@property (nonatomic) BOOL allowRangingInBackground;
152176

177+
/**
178+
* Checks the apps Info Dictionary for background location updates under the Capabilities
179+
* tab of your project in Xcode.
180+
*/
181+
@property (nonatomic) BOOL isBackgroundLocationUpdatesEnabled;
182+
183+
/**
184+
* Allows to set the value of Location Authorization to access permission as per the requirement.
185+
*/
186+
@property (nonatomic, assign) LocationAccessPermission locationUsageRequirementType;
187+
188+
/**
189+
* If set to true, the app would range for 10 seconds when woken up (when the phone is locked and display is on).
190+
*/
191+
@property (nonatomic) BOOL checkIfRangingOnWakeUpNeeded;
192+
153193
/**
154194
* Initializes a MSBeaconManager to monitor all beacons with the
155195
* given UUID and identifier.

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/MSCard.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/MSCard.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// MSCard.h
33
// Beaconstac
44
//
5-
// Copyright (c) 2016 Mobstac. All rights reserved.
5+
// Copyright (c) 2017 Mobstac. All rights reserved.
66
//
77
// All information contained herein is, and remains the property of MobStac Inc.
88
// The intellectual and technical concepts contained herein are proprietary to
@@ -21,6 +21,7 @@
2121
// THE SOFTWARE.
2222

2323
#import "MSAction.h"
24+
#import "MSNotification.h"
2425

2526
/**
2627
* MSCardType describes the different types of cards that can be created and used in Beaconstac
@@ -86,6 +87,12 @@ typedef NS_ENUM (NSUInteger, MSCardType) {
8687
*/
8788
@property (nonatomic, strong) NSNumber *notification;
8889

90+
/**
91+
* Represents the MSNotification object associated with the card
92+
* @see MSNotification
93+
*/
94+
@property (nonatomic, weak) MSNotification *notificationObject;
95+
8996
/**
9097
* Represents the @see MSAction the webhook is associated with
9198
*/

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/MSConstants.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/MSConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* SDK properties
3535
*/
36-
#define SDK_VERSION @"1.5.2"
36+
#define SDK_VERSION @"1.5.3"
3737
#define EVENT_LOG_VERSION @1.3
3838

3939
/**

BeaconstacSDK/Beaconstac.framework/Versions/1.5.2/Headers/MSCustomAction.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5.3/Headers/MSCustomAction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// MSCustomAction.h
33
// Beaconstac
44
//
5-
// Copyright (c) 2016 Mobstac. All rights reserved.
5+
// Copyright (c) 2017 Mobstac. All rights reserved.
66
//
77
// All information contained herein is, and remains the property of MobStac Inc.
88
// The intellectual and technical concepts contained herein are proprietary to
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)