Skip to content

Commit fd975ab

Browse files
committed
1.2.9
1 parent 09e1e8e commit fd975ab

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

Leanplum-iOS-SDK.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Leanplum-iOS-SDK'
3-
s.version = '1.2.8'
3+
s.version = '1.2.9'
44
s.summary = 'Mobile A/B testing, personalization & analytics in one powerful platform.'
55
s.description = 'Leanplum! Mobile A/B testing, personalization & analytics in one powerful platform.'
66
s.homepage = 'https://www.leanplum.com'
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99
s.social_media_url = 'https://twitter.com/leanplum'
1010
s.platform = :ios, '5.0'
1111
s.requires_arc = true
12-
s.source = { :git => 'https://github.com/Leanplum/Leanplum-iOS-SDK.git', :tag => '1.2.8'}
12+
s.source = { :git => 'https://github.com/Leanplum/Leanplum-iOS-SDK.git', :tag => '1.2.9'}
1313
s.frameworks = 'CFNetwork', 'Foundation', 'Security', 'SystemConfiguration', 'UIKit'
1414
s.weak_frameworks = "AdSupport"
1515
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }

Leanplum.framework/Headers/Leanplum.h

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// Leanplum.h
3-
// Leanplum iOS SDK Version 1.2.8
3+
// Leanplum iOS SDK Version 1.2.9
44
//
55
// Copyright (c) 2014 Leanplum. All rights reserved.
66
//
@@ -64,10 +64,14 @@ name = [LPVar define:[@#name stringByReplacingOccurrencesOfString:@"_" withStrin
6464
// It's useful in development mode so that we remember your device even if you reinstall your app.
6565
// Since it's a MACRO, this won't get compiled into your app in production, and will be safe
6666
// to submit to Apple.
67-
#define LEANPLUM_USE_ADVERTISING_ID [Leanplum setDeviceId:[[[NSClassFromString(@"ASIdentifierManager") \
68-
performSelector:NSSelectorFromString(@"sharedManager")] \
69-
performSelector:NSSelectorFromString(@"advertisingIdentifier")] \
70-
performSelector:NSSelectorFromString(@"UUIDString")]]
67+
#define LEANPLUM_USE_ADVERTISING_ID \
68+
_Pragma("clang diagnostic push") \
69+
_Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"") \
70+
[Leanplum setDeviceId:[[[NSClassFromString(@"ASIdentifierManager") \
71+
performSelector:NSSelectorFromString(@"sharedManager")] \
72+
performSelector:NSSelectorFromString(@"advertisingIdentifier")] \
73+
performSelector:NSSelectorFromString(@"UUIDString")]] \
74+
_Pragma("clang diagnostic pop")
7175

7276
@class LPActionContext;
7377

@@ -258,6 +262,11 @@ typedef enum {
258262
// Resumes the current state.
259263
+ (void)resumeState;
260264

265+
// Automatically tracks all of the screens in the app as states.
266+
// You should not use this in conjunction with advanceTo as the user can only be in
267+
// 1 state at a time.
268+
+ (void)trackAllAppScreens;
269+
261270
// Logs a particular event in your application. The string can be
262271
// any value of your choosing, and will show up in the dashboard.
263272
+ (void)track:(NSString *)event;

Leanplum.framework/Leanplum

349 KB
Binary file not shown.

0 commit comments

Comments
 (0)