Skip to content

Commit

Permalink
Updating Appboy SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzhi committed Nov 3, 2016
1 parent a8bbfc0 commit 6d615bb
Show file tree
Hide file tree
Showing 39 changed files with 401 additions and 104 deletions.
3 changes: 2 additions & 1 deletion 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.24.2"
s.version = "2.24.3"
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 @@ -18,5 +18,6 @@ Pod::Spec.new do |s|
s.resource = 'AppboyKit/Appboy.bundle'
s.preserve_paths = 'AppboyKit/**/*.*'
s.vendored_libraries = 'AppboyKit/libAppboyKitLibrary.a'
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
s.dependency 'SDWebImage', '~>3.7'
end
4 changes: 1 addition & 3 deletions 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.24.0"
s.version = "2.24.3"
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 All @@ -12,8 +12,6 @@ Pod::Spec.new do |s|
s.documentation_url = 'http://documentation.appboy.com/'
s.tvos.frameworks = 'SystemConfiguration'
s.tvos.weak_framework = 'AdSupport', 'StoreKit'
s.public_header_files = 'Appboy-tvOS-SDK/AppboyTVOSKit.framework/Headers/*.h'
s.preserve_paths = 'Appboy-tvOS-SDK/AppboyTVOSKit.framework'
s.vendored_frameworks = 'Appboy-tvOS-SDK/AppboyTVOSKit.framework'
s.source_files = 'Appboy-tvOS-SDK/AppboyTVOSKit.framework/**/*.*'
end
Binary file modified Appboy-tvOS-SDK/AppboyTVOSKit.framework/AppboyTVOSKit
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef NS_OPTIONS(NSUInteger, ABKCardCategory) {
* ABKCaptionedImageCard, ABKCrossPromotionCard, ABKClassicCard and ABKTextAnnouncementCard. They are all subclasses
* of ABKCard.
*/
@property (readonly, nullable, getter=getNewsFeedCards) NSArray *newsFeedCards;
@property (readonly, getter=getNewsFeedCards) NSArray *newsFeedCards;

/*!
* The NSDate object that indicates the last time the newsFeedCards property was updated from Appboy server.
Expand Down Expand Up @@ -93,7 +93,7 @@ typedef NS_OPTIONS(NSUInteger, ABKCardCategory) {
* @discussion This method will find the cards of given categories and return them.
* When the given categories don't exist in any card, this method will return an empty array.
*/
- (nullable NSArray *)getCardsInCategories:(ABKCardCategory)categories;
- (NSArray *)getCardsInCategories:(ABKCardCategory)categories;

@end
NS_ASSUME_NONNULL_END
20 changes: 16 additions & 4 deletions Appboy-tvOS-SDK/AppboyTVOSKit.framework/Headers/Appboy.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#import <UserNotifications/UserNotifications.h>

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

#if !TARGET_OS_TV
Expand Down Expand Up @@ -481,7 +481,7 @@ typedef NS_ENUM(NSInteger, ABKRequestProcessingPolicy) {
* @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 __deprecated_msg("`registerApplication:didReceiveRemoteNotification:` is deprecated in iOS 10, please use `registerApplication:didReceiveRemoteNotification:fetchCompletionHandler:` instead.");
- (void)registerApplication:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification NS_DEPRECATED_IOS(3_0, 10_0, "`registerApplication:didReceiveRemoteNotification:` is deprecated in iOS 10, please use `registerApplication:didReceiveRemoteNotification:fetchCompletionHandler:` instead.");

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

/*!
* @param center The app's current UNUserNotificationCenter object
Expand All @@ -520,7 +520,19 @@ didReceiveRemoteNotification:(NSDictionary *)notification
*/
- (void)userNotificationCenter:(UNUserNotificationCenter *)center
didReceiveNotificationResponse:(UNNotificationResponse *)response
withCompletionHandler:(void (^)())completionHandler;
withCompletionHandler:(nullable void (^)())completionHandler;

/*!
* @param pushAuthGranted The boolean value passed in from completionHandler in UNUserNotificationCenter's
* requestAuthorizationWithOptions:completionHandler: method, which indicates if the push authorization
* was granted or not.
*
* @discussion This method forwards the push authorization result to Appboy after the user interacts with
* the notification prompt.
* Call it from the UNUserNotificationCenter's requestAuthorizationWithOptions:completionHandler: method
* when you prompt users to enable push.
*/
- (void)pushAuthorizationFromUserNotificationCenter:(BOOL)pushAuthGranted;

- (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 @@ -38,7 +38,7 @@
</data>
<key>Headers/ABKFeedController.h</key>
<data>
K8q0+hGIIJG9JzK+WVZjTLxs9R4=
PFRaevhGAnWJzOYv03Z8U9VnIl0=
</data>
<key>Headers/ABKTextAnnouncementCard.h</key>
<data>
Expand All @@ -54,15 +54,15 @@
</data>
<key>Headers/Appboy.h</key>
<data>
XW7za14krzuZZ9LUCQreEC+3VIE=
G5hRWlmrhkriBSjFUvbcAjJGbOg=
</data>
<key>Headers/AppboyKit.h</key>
<data>
Sdrh8p7KyYA0p0SsWSJj4oIpJzM=
</data>
<key>Info.plist</key>
<data>
L6phyFkO72f268SZBUIntTx7QO4=
526rPZfaGSn7Tf5djGMb3mGIaM4=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -159,11 +159,11 @@
<dict>
<key>hash</key>
<data>
K8q0+hGIIJG9JzK+WVZjTLxs9R4=
PFRaevhGAnWJzOYv03Z8U9VnIl0=
</data>
<key>hash2</key>
<data>
pqgy4Xt+YV4OiG8NnksN7IPLJgh531edr6EadTguj7o=
x+/OvRql5i2B7P0+lJbEuLDDpIKDyLt6TAcjVRC+m0k=
</data>
</dict>
<key>Headers/ABKTextAnnouncementCard.h</key>
Expand Down Expand Up @@ -203,11 +203,11 @@
<dict>
<key>hash</key>
<data>
XW7za14krzuZZ9LUCQreEC+3VIE=
G5hRWlmrhkriBSjFUvbcAjJGbOg=
</data>
<key>hash2</key>
<data>
EPBk26D2qu2M5LRyITeQXMrhNs9rLVxeiudRuAvh45g=
MuGH4Ac9PACp0pwReUx1xhbJA4jmca6fRr0Wetszzts=
</data>
</dict>
<key>Headers/AppboyKit.h</key>
Expand Down Expand Up @@ -240,6 +240,11 @@
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
Expand Down Expand Up @@ -285,6 +290,11 @@
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
Expand Down
Binary file modified AppboyKit/Appboy.bundle/ABKBannerCardCell.nib
Binary file not shown.
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKCrossPromotionCardCell.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedNoConnectionView.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackContentView.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackEmailViewPortrait.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackNavBar.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKSpinnerView.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKTextAnnouncementCardCell.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/Info.plist
Binary file not shown.
4 changes: 2 additions & 2 deletions AppboyKit/headers/AppboyKitLibrary/ABKFeedController.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef NS_OPTIONS(NSUInteger, ABKCardCategory) {
* ABKCaptionedImageCard, ABKCrossPromotionCard, ABKClassicCard and ABKTextAnnouncementCard. They are all subclasses
* of ABKCard.
*/
@property (readonly, nullable, getter=getNewsFeedCards) NSArray *newsFeedCards;
@property (readonly, getter=getNewsFeedCards) NSArray *newsFeedCards;

/*!
* The NSDate object that indicates the last time the newsFeedCards property was updated from Appboy server.
Expand Down Expand Up @@ -93,7 +93,7 @@ typedef NS_OPTIONS(NSUInteger, ABKCardCategory) {
* @discussion This method will find the cards of given categories and return them.
* When the given categories don't exist in any card, this method will return an empty array.
*/
- (nullable NSArray *)getCardsInCategories:(ABKCardCategory)categories;
- (NSArray *)getCardsInCategories:(ABKCardCategory)categories;

@end
NS_ASSUME_NONNULL_END
Loading

0 comments on commit 6d615bb

Please sign in to comment.