Skip to content

Commit f9bb9df

Browse files
committed
Releasing SDK v1.5
1 parent 7a94ef2 commit f9bb9df

File tree

33 files changed

+144
-27
lines changed

33 files changed

+144
-27
lines changed
-7.32 MB
Binary file not shown.
8.79 MB
Binary file not shown.

BeaconstacSDK/Beaconstac.framework/Versions/1.4.2/Headers/Beaconstac.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5/Headers/Beaconstac.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#import "MSConstants.h"
4040
#import "MSPlace.h"
4141
#import "MSRule.h"
42+
#import "MSTag.h"
4243

4344
@class Beaconstac;
4445

@@ -50,12 +51,21 @@
5051

5152
@optional
5253
/**
53-
* Sent to the delegate when one or more beacons are detected by the device for the first time.
54-
* This could be useful in getting list of beacons as soon as the device enters beacon region,
55-
* the app gets woken up in the background/foreground and returns a list of beacons
54+
* Sent to the delegate when the first beacon is detected by the device on entering a region.
5655
*
5756
* @param beaconstac Beaconstac instance which is the sender of this message
58-
* @param beacons Array of CLBeacon objects.
57+
* @param beacon One of the MSBeacon ranged in the first call
58+
*/
59+
- (void)beaconstac:(Beaconstac*)beaconstac didRangeFirstBeacon:(MSBeacon*)beacon;
60+
61+
/**
62+
* Sent to the delegate when one or more beacons are detected by the device for the first time
63+
* on entering a region. This could be useful in getting list of beacons as soon as the device
64+
* enters beacon region, the app gets woken up in the background/foreground and returns a list
65+
* of CLBeacons
66+
*
67+
* @param beaconstac Beaconstac instance which is the sender of this message
68+
* @param beacons array of CLBeacon objects ranged in the first call on entering a region
5969
*/
6070
- (void)beaconstac:(Beaconstac*)beaconstac didRangeBeaconsForFirstTime:(NSArray*)beacons;
6171

File renamed without changes.
File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.4.2/Headers/MSBeaconManager.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5/Headers/MSBeaconManager.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,23 @@ typedef NS_ENUM (NSUInteger, MSBeaconAffinity)
7676
- (void)beaconManager:(MSBeaconManager*)manager didExitBeaconRegion:(CLRegion*)region;
7777

7878
/**
79-
* Invoked when beacons are ranged for the first time for the monitored region.
79+
* Invoked when beacons are ranged for the first time in the monitored region.
80+
*
81+
* @param manager MSBeaconManager instance which is the sender of this message
82+
* @param beacon MSBeacon the first beacon which was ranged on entering the region
83+
* @param region CLRegion which the user just entered, inside which this beacon got ranged
84+
*/
85+
- (void)beaconManager:(MSBeaconManager*)manager didRangeFirstBeacon:(MSBeacon*)beacon onBeaconRegion:(CLRegion*)region;
86+
87+
/*
88+
* Invoked when beacons are ranged for the first time in the monitored region.
89+
*
90+
* @param manager MSBeaconManager instance which is the sender of this message
91+
* @param beaconsArray NSArray of CLBeacon objects which were ranged on entering the region
92+
* @param region CLRegion which the user just entered, inside which this beacon got ranged
8093
*/
8194
- (void)beaconManager:(MSBeaconManager*)manager didRangeBeaconsForFirstTime:(NSArray*)beaconsArray onBeaconRegion:(CLRegion*)region;
95+
8296
@end
8397

8498

File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.4.2/Headers/MSConstants.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.5/Headers/MSConstants.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
#ifndef BeaconstacSDK_MSConstants_h
2424
#define BeaconstacSDK_MSConstants_h
2525

26-
#ifdef USE_QA_SERVER
27-
#define URL_BASE @"https://beaconstacqa.mobstac.com/api/1.0/"
28-
#else
29-
#define URL_BASE @"https://beaconstac.mobstac.com/api/1.0/"
30-
#endif
3126
#define URL_RULE_PATH @"rules/"
3227
#define URL_PLACE_PATH @"places/"
3328
#define URL_TAG_PATH @"tags/"
@@ -38,8 +33,8 @@
3833
/**
3934
* SDK properties
4035
*/
41-
#define SDK_VERSION @"1.4.2"
42-
#define EVENT_LOG_VERSION @1.1
36+
#define SDK_VERSION @"1.5"
37+
#define EVENT_LOG_VERSION @1.2
4338

4439
/**
4540
* Beacon thresholds
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)