Skip to content

Commit

Permalink
Updating Appboy SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzhi committed Feb 23, 2016
1 parent 4a22771 commit 7a50feb
Show file tree
Hide file tree
Showing 103 changed files with 479 additions and 239 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 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.18.4"
s.version = "2.19.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 Down
Binary file modified AppboyKit/Appboy.bundle/ABKBannerCardCell.nib/objects.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKBannerCardCell.nib/runtime.nib
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/ABKFeedNoConnectionView.nib/objects.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedNoConnectionView.nib/runtime.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackContentView.nib/objects.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackContentView.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackNavBar.nib/objects.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKFeedbackNavBar.nib/runtime.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 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/objects.nib
Binary file not shown.
Binary file modified AppboyKit/Appboy.bundle/ABKSpinnerView.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN
* beforeInAppMessageDisplayed:withKeyboardIsUp: delegate method if no other in-app message is
* currently on the screen.
*/
- (BOOL) onInAppMessageReceived:(ABKInAppMessage *)inAppMessage;
- (BOOL) onInAppMessageReceived:(ABKInAppMessage *)inAppMessage __deprecated;

/*!
* @param inAppMessage The in-app message object being offered to the delegate method.
Expand Down
3 changes: 2 additions & 1 deletion AppboyKit/headers/AppboyKitLibrary/ABKPushUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

NS_ASSUME_NONNULL_BEGIN
static NSString *const ABKAppboyPushNotificationUninstallTrackingKey = @"appboy_uninstall_tracking";
static NSString *const ABKAppboyPushNotificationFetchTestTriggersKey = @"ab_push_fetch_test_triggers_key";

/*
* Appboy Public API: ABKPushUtils
*/
@interface ABKPushUtils : NSObject

+ (BOOL) isUninstallTrackingNotification:(NSDictionary *)userInfo;

+ (BOOL) shouldFetchTestTriggersFlagContainedInPayload:(NSDictionary *)userInfo;
@end
NS_ASSUME_NONNULL_END
10 changes: 8 additions & 2 deletions AppboyKit/headers/AppboyKitLibrary/Appboy.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#import <UIKit/UIKit.h>

#ifndef APPBOY_SDK_VERSION
#define APPBOY_SDK_VERSION @"2.18.4"
#define APPBOY_SDK_VERSION @"2.19.0"
#endif

@class ABKInAppMessageController;
Expand All @@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
*/

/*!
* Get the Appboy singleton.
* Get the Appboy singleton. Returns nil if accessed before startWithApiKey: called.
*/
+ (nullable Appboy *) sharedInstance;

Expand Down Expand Up @@ -136,6 +136,12 @@ extern NSString *const ABKAppboyEndpointDelegateKey;
*/
extern NSString *const ABKSessionTimeoutKey;

/*!
* Set the minimum time interval in seconds between triggers. After a trigger happens, we will ignore any triggers until
* the minimum time interval elapses. The default value is 30s.
*/
extern NSString *const ABKMinimumTriggerTimeIntervalKey;

/* ------------------------------------------------------------------------------------------------------
* Enums
*/
Expand Down
Binary file modified AppboyKit/libAppboyKitLibrary.a
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.19.0
- Adds support for action-based, locally triggered in-app messages. In-app messages are now sent to the device at session start with associated trigger events. The SDK will display in-app messages in near real-time when the trigger event associated with a message occurs. Trigger events can be app opens, push opens, purchases, and custom events.
- Deprecates the old system of requesting in-app message display, now collectively known as 'original' in-app messaging, where messages were limited to displaying at app start.

## 2.18.4
- Fixes a Cocoapods issue that emerged during the release of 2.8.13.

Expand Down
Binary file modified Example/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Appboy-iOS-SDK (2.18.4):
- Appboy-iOS-SDK (2.19.0):
- SDWebImage (~> 3.7.0)
- KKColorListPicker (0.2.4)
- NUI (0.5.5):
Expand Down Expand Up @@ -27,11 +27,11 @@ CHECKOUT OPTIONS:
:commit: 2e796e48efd572fc1d6834f766d3f7d55f9da27c
:git: [email protected]:leoru/KKColorListPicker.git
NUI:
:commit: e98669a9c1366baa68fed8dad490a6a1f78bb585
:commit: c0ee7fe6fe34a7c8b6d9b8db27609a2577d0b9db
:git: https://github.com/tombenner/nui.git

SPEC CHECKSUMS:
Appboy-iOS-SDK: 8dacccfffa99a0fe18fef4b48ab02f63abe54f70
Appboy-iOS-SDK: 54d40209edbfbac17b1b199b6b1aca0bc54cf29c
KKColorListPicker: de772db47659dea2a8c77bf9bac97648929ce10a
NUI: 53de7278003235deb2a375fe6f04c7a3aa3e49eb
NUIParse: 2e3885ba7807477266396292626bd387d34c2338
Expand Down
48 changes: 24 additions & 24 deletions Example/Stopwatch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -363,36 +363,36 @@
95EF5113173D5FD600C0D780 /* Stopwatch */ = {
isa = PBXGroup;
children = (
4EEAD0EE1B0FB00700883707 /* Stopwatch.entitlements */,
4EDB971F1B3B6226003BB81D /* TwitterViewController.h */,
4EDB97201B3B6226003BB81D /* TwitterViewController.m */,
4E3178751AC49363006C88B4 /* CustomInAppMessageClasses */,
4E94D76F1743EE8900604EA0 /* AppDelegate.h */,
4E94D7701743EE8900604EA0 /* AppDelegate.m */,
95EF5125173D5FD600C0D780 /* MainStoryboard_iPhone.storyboard */,
95EF5128173D5FD600C0D780 /* MainStoryboard_iPad.storyboard */,
95EF512B173D5FD600C0D780 /* InitialViewController.h */,
95EF512C173D5FD600C0D780 /* InitialViewController.m */,
4E94D76C1743EE7100604EA0 /* Clock.h */,
4E94D76D1743EE7100604EA0 /* Clock.m */,
955DE88E17419DB000C07A57 /* TestingViewController.h */,
955DE88F17419DB000C07A57 /* TestingViewController.m */,
4E3178751AC49363006C88B4 /* CustomInAppMessageClasses */,
E3AF79231AEACAB30075681E /* EventsAndPropertiesViewController.h */,
E3AF79241AEACAB30075681E /* EventsAndPropertiesViewController.m */,
4E7D1C7C1A9FE1990087DB64 /* FacebookViewController.h */,
4E7D1C7D1A9FE1990087DB64 /* FacebookViewController.m */,
953574A81743F862003A64B3 /* UserAttributesViewController.m */,
953574A91743F862003A64B3 /* UserAttributesViewController.h */,
95EF5114173D5FD600C0D780 /* Supporting Files */,
4EA3EE221745B9A2000E403C /* UserAttributeCell.h */,
4EA3EE231745B9A2000E403C /* UserAttributeCell.m */,
4EA7AA8C185626EC00D2B651 /* FlushModeTestViewController.h */,
4EA7AA8D185626EC00D2B651 /* FlushModeTestViewController.m */,
4E6D661519DCC18F009983AD /* Images.xcassets */,
4EABC1981A606D00007259BD /* InAppMessageUIViewController.h */,
4EABC1991A606D00007259BD /* InAppMessageUIViewController.m */,
4EABC19B1A621AF4007259BD /* InAppMessageUICells.h */,
4EABC19C1A621B7F007259BD /* InAppMessageUICells.m */,
E3AF79231AEACAB30075681E /* EventsAndPropertiesViewController.h */,
E3AF79241AEACAB30075681E /* EventsAndPropertiesViewController.m */,
4EABC1981A606D00007259BD /* InAppMessageUIViewController.h */,
4EABC1991A606D00007259BD /* InAppMessageUIViewController.m */,
95EF512B173D5FD600C0D780 /* InitialViewController.h */,
95EF512C173D5FD600C0D780 /* InitialViewController.m */,
95EF5128173D5FD600C0D780 /* MainStoryboard_iPad.storyboard */,
95EF5125173D5FD600C0D780 /* MainStoryboard_iPhone.storyboard */,
4EEAD0EE1B0FB00700883707 /* Stopwatch.entitlements */,
95EF5114173D5FD600C0D780 /* Supporting Files */,
955DE88E17419DB000C07A57 /* TestingViewController.h */,
955DE88F17419DB000C07A57 /* TestingViewController.m */,
4EDB971F1B3B6226003BB81D /* TwitterViewController.h */,
4EDB97201B3B6226003BB81D /* TwitterViewController.m */,
4EA3EE221745B9A2000E403C /* UserAttributeCell.h */,
4EA3EE231745B9A2000E403C /* UserAttributeCell.m */,
953574A91743F862003A64B3 /* UserAttributesViewController.h */,
953574A81743F862003A64B3 /* UserAttributesViewController.m */,
);
path = Stopwatch;
sourceTree = "<group>";
Expand Down Expand Up @@ -742,7 +742,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
LIBRARY_SEARCH_PATHS = "${BUILT_PRODUCTS_DIR}";
ONLY_ACTIVE_ARCH = NO;
PROVISIONING_PROFILE = "b0bf42ef-3014-49c0-ad21-810f85a22f86";
PROVISIONING_PROFILE = "1d7b1660-dd65-4635-98fd-e2468906f559";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7 armv7s armv6 x86_64 i386";
Expand Down Expand Up @@ -772,7 +772,7 @@
);
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "b0bf42ef-3014-49c0-ad21-810f85a22f86";
PROVISIONING_PROFILE = "1d7b1660-dd65-4635-98fd-e2468906f559";
TARGETED_DEVICE_FAMILY = "1,2";
WRAPPER_EXTENSION = app;
};
Expand Down Expand Up @@ -806,7 +806,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
LIBRARY_SEARCH_PATHS = "${BUILT_PRODUCTS_DIR}";
ONLY_ACTIVE_ARCH = YES;
PROVISIONING_PROFILE = "b0bf42ef-3014-49c0-ad21-810f85a22f86";
PROVISIONING_PROFILE = "1d7b1660-dd65-4635-98fd-e2468906f559";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7 armv7s armv6 x86_64 i386";
Expand Down Expand Up @@ -834,7 +834,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
LIBRARY_SEARCH_PATHS = "${BUILT_PRODUCTS_DIR}";
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PROVISIONING_PROFILE = "b0bf42ef-3014-49c0-ad21-810f85a22f86";
PROVISIONING_PROFILE = "1d7b1660-dd65-4635-98fd-e2468906f559";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
Expand Down Expand Up @@ -865,7 +865,7 @@
);
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = StopwatchDevelop;
PROVISIONING_PROFILE = "a84a14f8-b97b-4c32-b627-1ef89b964c33";
PROVISIONING_PROFILE = "4f4a747e-05d8-465e-9cc9-50ed01eeb646";
TARGETED_DEVICE_FAMILY = "1,2";
WRAPPER_EXTENSION = app;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Binary file not shown.
Loading

0 comments on commit 7a50feb

Please sign in to comment.