Skip to content

Commit

Permalink
Updating Appboy SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzhi committed Sep 13, 2016
1 parent 7703db1 commit 15f1d96
Show file tree
Hide file tree
Showing 72 changed files with 1,127 additions and 408 deletions.
4 changes: 2 additions & 2 deletions Appboy-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Appboy-iOS-SDK"
s.version = "2.23.0"
s.version = "2.24.0"
s.summary = "This is the Appboy iOS SDK for Mobile Marketing Automation"
s.homepage = "http://www.appboy.com"
s.license = { :type => 'Commercial', :text => 'Please refer to https://github.com/Appboy/appboy-ios-sdk/blob/master/LICENSE'}
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.documentation_url = 'http://documentation.appboy.com/'
s.library = 'z'
s.frameworks = 'SystemConfiguration', 'QuartzCore', 'CoreImage', 'CoreText'
s.weak_framework = 'CoreTelephony', 'Social', 'Accounts', 'AdSupport', 'StoreKit'
s.weak_framework = 'CoreTelephony', 'Social', 'Accounts', 'AdSupport', 'StoreKit','UserNotifications'
s.source_files = 'AppboyKit/headers/AppboyKitLibrary/*.h', 'AppboyKit/*.m'
s.exclude_files = 'AppboyKit/**/*.txt'
s.resource = 'AppboyKit/Appboy.bundle'
Expand Down
2 changes: 1 addition & 1 deletion Appboy-tvOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Appboy-tvOS-SDK"
s.version = "2.22.1"
s.version = "2.24.0"
s.summary = "This is the Appboy tvOS SDK for Mobile Marketing Automation"
s.homepage = "http://www.appboy.com"
s.license = { :type => 'Commercial', :text => 'Please refer to https://github.com/Appboy/appboy-ios-sdk/blob/master/LICENSE'}
Expand Down
Binary file not shown.
Binary file modified Appboy-tvOS-SDK/AppboyTVOSKit.framework/AppboyTVOSKit
Binary file not shown.
36 changes: 17 additions & 19 deletions Appboy-tvOS-SDK/AppboyTVOSKit.framework/Headers/Appboy.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>

#ifndef APPBOY_SDK_VERSION
#define APPBOY_SDK_VERSION @"2.22.1"
#define APPBOY_SDK_VERSION @"2.24.0"
#endif

#if !TARGET_OS_TV
Expand Down Expand Up @@ -139,14 +140,6 @@ typedef NS_ENUM(NSInteger, ABKRequestProcessingPolicy) {
ABKManualRequestProcessing
};

/*!
* Values representing the Social Networks recognized by the SDK.
*/
typedef NS_OPTIONS(NSUInteger, ABKSocialNetwork) {
ABKSocialNetworkFacebook = 1 << 0,
ABKSocialNetworkTwitter = 1 << 1
};

/*
* Appboy Public API: Appboy
*/
Expand Down Expand Up @@ -420,14 +413,6 @@ typedef NS_OPTIONS(NSUInteger, ABKSocialNetwork) {
*/
- (void)logPurchase:(NSString *)productIdentifier inCurrency:(NSString *)currencyCode atPrice:(NSDecimalNumber *)price withQuantity:(NSUInteger)quantity andProperties:(nullable NSDictionary *)properties;

/*!
* @param socialNetwork An ABKSocialNetwork indicating the network that you wish to access.
*
* @discussion Records that the current user shared something to social network. This is added to the event tracking log
* that's lazily pushed up to the server.
*/
- (void)logSocialShare:(ABKSocialNetwork)socialNetwork __deprecated;

/*!
* @param replyToEmail The email address to send feedback replies to.
* @param message The message input by the user. Must be non-null and non-empty.
Expand Down Expand Up @@ -496,7 +481,7 @@ typedef NS_OPTIONS(NSUInteger, ABKSocialNetwork) {
* @discussion This method forwards remote notifications to Appboy. Call it from the application:didReceiveRemoteNotification
* method of your App Delegate.
*/
- (void)registerApplication:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification;
- (void)registerApplication:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification __deprecated_msg("`registerApplication:didReceiveRemoteNotification:` is deprecated in iOS 10, please use `registerApplication:didReceiveRemoteNotification:fetchCompletionHandler:` instead.");

/*!
* @param application The app's UIApplication object
Expand All @@ -522,7 +507,20 @@ didReceiveRemoteNotification:(NSDictionary *)notification
*/
- (void)getActionWithIdentifier:(NSString *)identifier
forRemoteNotification:(NSDictionary *)userInfo
completionHandler:(nullable void (^)())completionHandler;
completionHandler:(nullable void (^)())completionHandler __deprecated_msg("`getActionWithIdentifier:forRemoteNotification:completionHandler:` is deprecated in iOS 10, please use `userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:` instead.");

/*!
* @param center The app's current UNUserNotificationCenter object
* @param response The UNNotificationResponse object passed in from the didReceiveNotificationResponse:withCompletionHandler: call
* @param completionHandler A block passed in from the didReceiveNotificationResponse:withCompletionHandler: call. Appboy will call
* it at the end of the method if one is passed in. If you prefer to handle the completionHandler youself, please pass nil to Appboy.
*
* @discussion This method forwards the response of the notification to Appboy after user interacted with the notification.
* Call it from the userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: method of your App Delegate.
*/
- (void)userNotificationCenter:(UNUserNotificationCenter *)center
didReceiveNotificationResponse:(UNNotificationResponse *)response
withCompletionHandler:(void (^)())completionHandler;

- (BOOL)handleWatchKitExtensionRequest:(nullable NSDictionary *)userInfo reply:(void (^)(NSDictionary * _Nullable replyInfo))reply;
#endif
Expand Down
Binary file modified Appboy-tvOS-SDK/AppboyTVOSKit.framework/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
</data>
<key>Headers/Appboy.h</key>
<data>
2dp32rpIUAb0Vj6LaQhM2q3S1N0=
XW7za14krzuZZ9LUCQreEC+3VIE=
</data>
<key>Headers/AppboyKit.h</key>
<data>
Sdrh8p7KyYA0p0SsWSJj4oIpJzM=
</data>
<key>Info.plist</key>
<data>
VFvi9aY/9hqkJp5Ylp+Isab/fvI=
L6phyFkO72f268SZBUIntTx7QO4=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -203,11 +203,11 @@
<dict>
<key>hash</key>
<data>
2dp32rpIUAb0Vj6LaQhM2q3S1N0=
XW7za14krzuZZ9LUCQreEC+3VIE=
</data>
<key>hash2</key>
<data>
sS/4LgupsN0HW70qIrlFXyduVE/87it2dr36ytI1YhA=
EPBk26D2qu2M5LRyITeQXMrhNs9rLVxeiudRuAvh45g=
</data>
</dict>
<key>Headers/AppboyKit.h</key>
Expand Down
Loading

0 comments on commit 15f1d96

Please sign in to comment.