Skip to content

Commit 4a8616c

Browse files
committed
Releasing SDK v1.3.2
1 parent 11c9160 commit 4a8616c

File tree

65 files changed

+2526
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+2526
-318
lines changed
-3.5 MB
Binary file not shown.
Binary file not shown.
6.99 MB
Binary file not shown.

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/Beaconstac.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/Headers/Beaconstac.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#import "MSMedia.h"
3333
#import "MSIdentity.h"
3434
#import "MSNotification.h"
35+
#import "MSWebhook.h"
3536

3637
@class Beaconstac;
3738

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/MSAction.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/Headers/MSAction.h

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,23 @@
22
// MSAction.h
33
// Beaconstac
44
//
5-
// Created by Garima Batra on 11/17/14.
6-
// Copyright (c) 2014 Mobstac. All rights reserved.
5+
// Copyright (c) 2016 Mobstac. All rights reserved.
76
//
7+
// All information contained herein is, and remains the property of MobStac Inc.
8+
// The intellectual and technical concepts contained herein are proprietary to
9+
// MobStac Inc and may be covered by U.S. and Foreign Patents, patents in process,
10+
// and are protected by trade secret or copyright law. This product can not be
11+
// redistributed in full or parts without permission from MobStac Inc. Dissemination
12+
// of this information or reproduction of this material is strictly forbidden unless
13+
// prior written permission is obtained from MobStac Inc.
14+
//
15+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
// THE SOFTWARE.
822

923
#import <Foundation/Foundation.h>
1024
#import "MSCard.h"
@@ -42,7 +56,7 @@ typedef NS_ENUM (NSUInteger, MSActionType) {
4256

4357
/**
4458
* Represents the type of the action. This can have values:
45-
* popup, webpage, video, audio, custom
59+
* popup, webpage, video, audio, custom, webhook, notification
4660
*/
4761
@property (nonatomic) MSActionType type;
4862

@@ -86,13 +100,4 @@ typedef NS_ENUM (NSUInteger, MSActionType) {
86100
*/
87101
@property (nonatomic, strong) NSDate *modified;
88102

89-
/**
90-
* This method must be called when action type is webhook.
91-
* This posts data to the URL provided in Beaconstac developer portal.
92-
* @param postParams A dictionary of data that you want to post to the URL. Please note that timestamp and data available in factsDictionary is automatically posted.
93-
* @param additionalHeaders A dictionary of HTTP headers with values. Plesae note that HTTP headers sent from the portal are set by default
94-
* @param completionBlock A block object to be executed when the request operation finishes. It takes three arguments: statusCode- HTTP status code sent by server, data- Server response after the request has been executed, error- which is a NSError object describing the failure of the request
95-
*/
96-
- (void)executeWebhookWithParams:(NSMutableDictionary*)postParams headers:(NSMutableDictionary*)additionalHeaders WithCompletionBlock:(void (^)(NSNumber *statusCode, NSData *data, NSError *error))completionBlock;
97-
98103
@end

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/MSBeacon.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/Headers/MSBeacon.h

File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/MSBeaconManager.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/Headers/MSBeaconManager.h

File renamed without changes.

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/MSCard.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/Headers/MSCard.h

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22
// MSCard.h
33
// Beaconstac
44
//
5-
// Created by Garima Batra on 12/22/14.
6-
// Copyright (c) 2014 Mobstac. All rights reserved.
5+
// Copyright (c) 2016 Mobstac. All rights reserved.
76
//
7+
// All information contained herein is, and remains the property of MobStac Inc.
8+
// The intellectual and technical concepts contained herein are proprietary to
9+
// MobStac Inc and may be covered by U.S. and Foreign Patents, patents in process,
10+
// and are protected by trade secret or copyright law. This product can not be
11+
// redistributed in full or parts without permission from MobStac Inc. Dissemination
12+
// of this information or reproduction of this material is strictly forbidden unless
13+
// prior written permission is obtained from MobStac Inc.
14+
//
15+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
// THE SOFTWARE.
822

923
#import <Foundation/Foundation.h>
1024

25+
@class MSAction;
26+
1127
/**
1228
* MSCardType describes the different types of cards that can be created and used in Beaconstac
1329
*/
@@ -79,6 +95,11 @@ typedef NS_ENUM (NSUInteger, MSCardType) {
7995
*/
8096
@property (nonatomic, strong) NSNumber *notification;
8197

98+
/**
99+
* Represents the @see MSAction the webhook is associated with
100+
*/
101+
@property (nonatomic, weak) MSAction *action;
102+
82103
/**
83104
* Represents action associated with OK button of the card
84105
*/

BeaconstacSDK/Beaconstac.framework/Versions/1.3.1/Headers/MSConstants.h renamed to BeaconstacSDK/Beaconstac.framework/Versions/1.3.2/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.3"
41+
#define SDK_VERSION @"1.3.2"
4242
#define EVENT_LOG_VERSION @1.1
4343

4444
/**

0 commit comments

Comments
 (0)