Skip to content

Commit 34bf185

Browse files
committed
Releasing SDK v1.0
1 parent 3ea3915 commit 34bf185

File tree

27 files changed

+146
-14
lines changed

27 files changed

+146
-14
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Beaconstac
File renamed without changes.
File renamed without changes.
2.62 MB
Binary file not shown.

BeaconstacSDK/Beaconstac_v_0_9_16.framework/Versions/A/Headers/Beaconstac.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/Beaconstac.h

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,32 @@
7676
- (void)beaconstac:(Beaconstac*)beaconstac triggeredRuleWithRuleName:(NSString*)ruleName actionArray:(NSArray*)actionArray;
7777

7878
/**
79-
* Invoked when the user enters a monitored region.
79+
* Invoked when the user enters a monitored beacon region.
8080
* @param beaconstac Beaconstac instance which is the sender of this message
8181
* @param region Beacon region
8282
*/
83-
- (void)beaconstac:(Beaconstac*)beaconstac didEnterBeaconRegion:(CLRegion*)region;
83+
- (void)beaconstac:(Beaconstac*)beaconstac didEnterBeaconRegion:(CLBeaconRegion*)region;
8484

8585
/**
86-
* Invoked when the user exits a monitored region.
86+
* Invoked when the user exits a monitored beacon region.
8787
* @param beaconstac Beaconstac instance which is the sender of this message
8888
* @param region Beacon region
8989
*/
90-
- (void)beaconstac:(Beaconstac*)beaconstac didExitBeaconRegion:(CLRegion*)region;
90+
- (void)beaconstac:(Beaconstac*)beaconstac didExitBeaconRegion:(CLBeaconRegion*)region;
91+
92+
/**
93+
* Invoked when the user enters a monitored geofence region.
94+
* @param beaconstac Beaconstac instance which is the sender of this message
95+
* @param region Geofence region
96+
*/
97+
- (void)beaconstac:(Beaconstac*)beaconstac didEnterGeofenceRegion:(CLRegion*)region;
98+
99+
/**
100+
* Invoked when the user exits a monitored geofence region.
101+
* @param beaconstac Beaconstac instance which is the sender of this message
102+
* @param region Geofence region
103+
*/
104+
- (void)beaconstac:(Beaconstac*)beaconstac didExitGeofenceRegion:(CLRegion*)region;
91105

92106
/**
93107
* Reports if the GPS location changed
@@ -202,6 +216,16 @@ typedef NS_ENUM (NSUInteger, MSUIAction){
202216
*/
203217
- (void)stopRangingBeacons;
204218

219+
/**
220+
* Start monitoring geofences around list of places in account.
221+
*/
222+
- (void)startMonitoringGeofences;
223+
224+
/**
225+
* Stop monitoring all geofences.
226+
*/
227+
- (void)stopMonitoringGeofences;
228+
205229
/**
206230
* Updates the primary facts dictionary which is used by MSRuleProcessor to evaluate rules.
207231
* Facts such as beacon proximity, user location, user id are updated by the SDK.
File renamed without changes.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@
6767
*/
6868
@property (nonatomic) int stale;
6969

70-
/**
71-
* Beacon details in the format UUID:Major:Minor RSSI
72-
*/
73-
@property (nonatomic, copy, readonly) NSString *description;
74-
7570
/**
7671
* The designated initializer for MSBeacon class.
7772
*
@@ -98,4 +93,9 @@
9893
*/
9994
- (int)getMeanRssi;
10095

96+
/**
97+
* Returns a dictionary of Beacons associated with the account.
98+
*/
99+
+ (void)fetchAllBeaconsWithCompletionBlock:(void (^)(NSDictionary *beaconsDictionary, NSError *error))completionBlock;
100+
101101
@end
File renamed without changes.
File renamed without changes.

BeaconstacSDK/Beaconstac_v_0_9_16.framework/Versions/A/Headers/MSConstants.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.0/Headers/MSConstants.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@
2929
#define URL_BASE @"https://beaconstac.mobstac.com/api/1.0/"
3030
#endif
3131
#define URL_RULE_PATH @"rules/"
32+
#define URL_PLACE_PATH @"places/"
3233
#define URL_EVENTLOGGER_PATH @"eventlogger/"
3334
#define URL_BEACON_PATH @"beacons/"
3435

3536
/**
3637
* SDK properties
3738
*/
38-
#define SDK_VERSION @"0.9.16"
39+
#define SDK_VERSION @"1.0"
3940
#define EVENT_LOG_VERSION @1.1
4041

4142
/**

0 commit comments

Comments
 (0)