Skip to content

Commit

Permalink
1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
afirst committed May 29, 2014
1 parent 09e1e8e commit fd975ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Leanplum-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Leanplum-iOS-SDK'
s.version = '1.2.8'
s.version = '1.2.9'
s.summary = 'Mobile A/B testing, personalization & analytics in one powerful platform.'
s.description = 'Leanplum! Mobile A/B testing, personalization & analytics in one powerful platform.'
s.homepage = 'https://www.leanplum.com'
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.social_media_url = 'https://twitter.com/leanplum'
s.platform = :ios, '5.0'
s.requires_arc = true
s.source = { :git => 'https://github.com/Leanplum/Leanplum-iOS-SDK.git', :tag => '1.2.8'}
s.source = { :git => 'https://github.com/Leanplum/Leanplum-iOS-SDK.git', :tag => '1.2.9'}
s.frameworks = 'CFNetwork', 'Foundation', 'Security', 'SystemConfiguration', 'UIKit'
s.weak_frameworks = "AdSupport"
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
Expand Down
19 changes: 14 additions & 5 deletions Leanplum.framework/Headers/Leanplum.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Leanplum.h
// Leanplum iOS SDK Version 1.2.8
// Leanplum iOS SDK Version 1.2.9
//
// Copyright (c) 2014 Leanplum. All rights reserved.
//
Expand Down Expand Up @@ -64,10 +64,14 @@ name = [LPVar define:[@#name stringByReplacingOccurrencesOfString:@"_" withStrin
// It's useful in development mode so that we remember your device even if you reinstall your app.
// Since it's a MACRO, this won't get compiled into your app in production, and will be safe
// to submit to Apple.
#define LEANPLUM_USE_ADVERTISING_ID [Leanplum setDeviceId:[[[NSClassFromString(@"ASIdentifierManager") \
performSelector:NSSelectorFromString(@"sharedManager")] \
performSelector:NSSelectorFromString(@"advertisingIdentifier")] \
performSelector:NSSelectorFromString(@"UUIDString")]]
#define LEANPLUM_USE_ADVERTISING_ID \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"") \
[Leanplum setDeviceId:[[[NSClassFromString(@"ASIdentifierManager") \
performSelector:NSSelectorFromString(@"sharedManager")] \
performSelector:NSSelectorFromString(@"advertisingIdentifier")] \
performSelector:NSSelectorFromString(@"UUIDString")]] \
_Pragma("clang diagnostic pop")

@class LPActionContext;

Expand Down Expand Up @@ -258,6 +262,11 @@ typedef enum {
// Resumes the current state.
+ (void)resumeState;

// Automatically tracks all of the screens in the app as states.
// You should not use this in conjunction with advanceTo as the user can only be in
// 1 state at a time.
+ (void)trackAllAppScreens;

// Logs a particular event in your application. The string can be
// any value of your choosing, and will show up in the dashboard.
+ (void)track:(NSString *)event;
Expand Down
Binary file modified Leanplum.framework/Leanplum
Binary file not shown.

0 comments on commit fd975ab

Please sign in to comment.