Skip to content

Commit dbecf22

Browse files
committed
Releasing 1.6.7
1 parent fec7f58 commit dbecf22

35 files changed

+16
-1239
lines changed

LeanplumSample/Assets/LeanplumSDK/SharedConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace LeanplumSDK
2424
/// </summary>
2525
public class SharedConstants
2626
{
27-
public const string SDK_VERSION = "1.7.3";
27+
public const string SDK_VERSION = "1.6.7";
2828

2929
public class Kinds
3030
{

LeanplumSample/Assets/Plugins/Android/com.leanplum.unity-wrapper-1.7.3.aar.meta renamed to LeanplumSample/Assets/Plugins/Android/com.leanplum.unity-wrapper-1.6.7.aar.meta

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPActionContext-Internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@property (readonly, strong) LPActionContext *parentContext;
3030
@property (readonly) int contentVersion;
3131
@property (readonly, strong) NSString *key;
32-
@property (readonly) BOOL preventRealtimeUpdating;
32+
@property (assign) BOOL preventRealtimeUpdating;
3333
@property (nonatomic, assign) BOOL isRooted;
3434
@property (nonatomic, assign) BOOL isPreview;
3535
@property (nonatomic, strong) LPContextualValues *contextualValues;

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPActionManager.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626

2727
#import <Foundation/Foundation.h>
2828
#import "LPContextualValues.h"
29-
#if LP_NOT_TV
3029
#import <UserNotifications/UserNotifications.h>
31-
#endif
3230

3331
struct LeanplumMessageMatchResult {
3432
BOOL matchedTrigger;
@@ -62,9 +60,12 @@ typedef enum {
6260

6361
+ (LPActionManager*) sharedManager;
6462

65-
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 && LP_NOT_TV
63+
#pragma clang diagnostic push
64+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
65+
#pragma clang diagnostic ignored "-Wstrict-prototypes"
66+
6667
- (void)sendUserNotificationSettingsIfChanged:(UIUserNotificationSettings *)notificationSettings;
67-
#endif
68+
#pragma clang diagnostic pop
6869

6970
+ (void)getForegroundRegionNames:(NSMutableSet **)foregroundRegionNames
7071
andBackgroundRegionNames:(NSMutableSet **)backgroundRegionNames;

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPConstants.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,9 @@
2727

2828
#define IOS_6_SUPPORTED defined(_ARM_ARCH_7) || defined(__i386__) || defined(__LP64__)
2929

30-
#ifndef LP_NOT_TV
31-
#if (!defined(TARGET_OS_TV) || !TARGET_OS_TV)
32-
#define LP_NOT_TV 1
33-
#else
34-
#define LP_NOT_TV 0
35-
#endif
36-
#endif
37-
3830
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
3931
#define IS_SUPPORTED_IOS_VERSION (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"4.3"))
4032
#define RETURN_IF_NOT_SUPPORTED_IOS_VERSION if (!(IS_SUPPORTED_IOS_VERSION)) return;
41-
#define IS_IOS_8_OR_HIGHER (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0"))
4233
#define APP_NAME (([[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]) ?: \
4334
([[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]))
4435

@@ -49,7 +40,7 @@
4940
#define IS_NOOP ((!IS_SUPPORTED_IOS_VERSION) || IS_JAILBROKEN || [LPConstantsState sharedState].isTestMode || [LPConstantsState sharedState].isInPermanentFailureState)
5041
#define RETURN_IF_NOOP if (IS_NOOP) return
5142

52-
#define LEANPLUM_SDK_VERSION @"2.4.0"
43+
#define LEANPLUM_SDK_VERSION @"2.4.1"
5344
#define LEANPLUM_CLIENT @"ios"
5445
#define LEANPLUM_SUPPORTED_ENCODING @"gzip"
5546

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPContextualValues.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
#import "Leanplum.h"
2626

2727
#import <Foundation/Foundation.h>
28-
#if LP_NOT_TV
2928
#import <UserNotifications/UserNotifications.h>
30-
#endif
3129

3230
@interface LPContextualValues : NSObject
3331

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPFileTransferManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
1515

1616
@interface LPFileTransferManager : NSObject
1717

18-
@property (nonatomic, strong) NSString *uploadUrl;
18+
@property (nonatomic, strong, nullable) NSString *uploadUrl;
1919
@property (nonatomic, readonly) int numPendingDownloads;
2020

2121
+ (instancetype)sharedInstance;

LeanplumSample/Assets/Plugins/iOS/Leanplum.framework/Headers/LPMessageTemplates.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,11 @@
3131
#import <Foundation/Foundation.h>
3232
#import "Leanplum.h"
3333

34-
@interface LPMessageTemplatesClass : NSObject
35-
#if LP_NOT_TV
36-
<UIAlertViewDelegate, UIWebViewDelegate>
37-
#endif
34+
@interface LPMessageTemplatesClass : NSObject <UIAlertViewDelegate, UIWebViewDelegate>
3835

3936
+ (LPMessageTemplatesClass *)sharedTemplates;
4037

41-
#if LP_NOT_TV
4238
- (void)disableAskToAsk;
4339
- (void)refreshPushPermissions;
44-
#endif
4540

4641
@end

0 commit comments

Comments
 (0)