Skip to content

Commit

Permalink
chore(ios): update Facebook SDK to 13.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Jun 5, 2022
1 parent 84bfba9 commit f31a972
Show file tree
Hide file tree
Showing 383 changed files with 12,164 additions and 3,033 deletions.
2 changes: 1 addition & 1 deletion ios/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 12.0.0
version: 12.1.0
apiversion: 2
description: Use the native Facebook iOS SDK in Axway Titanium.
author: Mark Mokryn, Ng Chee Kiat and Hans Knoechel
Expand Down
28 changes: 14 additions & 14 deletions ios/platform/FBAEMKit.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>FBAEMKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>FBAEMKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FBAEMKit.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -42,36 +42,36 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>FBAEMKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FBAEMKit.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

#import <FBAEMKit/FBAEMAdvertiserRuleMatching.h>
#import <FBAEMKit/FBAEMAdvertiserRuleProviding.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserRuleFactory)
@interface FBAEMAdvertiserRuleFactory : NSObject <FBAEMAdvertiserRuleProviding>

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserRuleMatching)
@protocol FBAEMAdvertiserRuleMatching <NSObject>

- (BOOL)isMatchedEventParameters:(nullable NSDictionary<NSString *, id> *)eventParams;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
typedef NS_CLOSED_ENUM (NSInteger, FBAEMAdvertiserRuleOperator)
{
FBAEMAdvertiserRuleOperatorUnknown = 0,
// Multi Entry Rule Operator
FBAEMAdvertiserRuleOperatorAnd,
FBAEMAdvertiserRuleOperatorOr,
FBAEMAdvertiserRuleOperatorNot,
// Single Entry Rule Operator
FBAEMAdvertiserRuleOperatorContains,
FBAEMAdvertiserRuleOperatorNotContains,
FBAEMAdvertiserRuleOperatorStartsWith,
FBAEMAdvertiserRuleOperatorCaseInsensitiveContains,
FBAEMAdvertiserRuleOperatorCaseInsensitiveNotContains,
FBAEMAdvertiserRuleOperatorCaseInsensitiveStartsWith,
FBAEMAdvertiserRuleOperatorRegexMatch,
FBAEMAdvertiserRuleOperatorEqual,
FBAEMAdvertiserRuleOperatorNotEqual,
FBAEMAdvertiserRuleOperatorLessThan,
FBAEMAdvertiserRuleOperatorLessThanOrEqual,
FBAEMAdvertiserRuleOperatorGreaterThan,
FBAEMAdvertiserRuleOperatorGreaterThanOrEqual,
FBAEMAdvertiserRuleOperatorCaseInsensitiveIsAny,
FBAEMAdvertiserRuleOperatorCaseInsensitiveIsNotAny,
FBAEMAdvertiserRuleOperatorIsAny,
FBAEMAdvertiserRuleOperatorIsNotAny
} NS_SWIFT_NAME(_AEMAdvertiserRuleOperator);

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
/// Describes anything that can provide instances of `AEMAdvertiserRuleMatching`
NS_SWIFT_NAME(_AEMAdvertiserRuleProviding)
@protocol FBAEMAdvertiserRuleProviding

- (nullable id<FBAEMAdvertiserRuleMatching>)createRuleWithJson:(nullable NSString *)json;

- (nullable id<FBAEMAdvertiserRuleMatching>)createRuleWithDict:(NSDictionary<NSString *, id> *)dict;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

#import <FBAEMKit/FBAEMAdvertiserRuleMatching.h>
#import <FBAEMKit/FBAEMAdvertiserRuleOperator.h>

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMAdvertiserSingleEntryRule)
@interface FBAEMAdvertiserSingleEntryRule : NSObject <FBAEMAdvertiserRuleMatching, NSCopying, NSSecureCoding>

@property (nonatomic, readonly, assign)FBAEMAdvertiserRuleOperator operator;
@property (nonatomic, readonly) NSString *paramKey;
@property (nullable, nonatomic, readonly) NSString *linguisticCondition;
@property (nullable, nonatomic, readonly) NSNumber *numericalCondition;
@property (nullable, nonatomic, readonly) NSArray<NSString *> *arrayCondition;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

- (instancetype)initWithOperator:(FBAEMAdvertiserRuleOperator)op
paramKey:(NSString *)paramKey
linguisticCondition:(nullable NSString *)linguisticCondition
numericalCondition:(nullable NSNumber *)numericalCondition
arrayCondition:(nullable NSArray<NSString *> *)arrayCondition;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>

#if !TARGET_OS_TV

#import <Foundation/Foundation.h>

@class FBAEMConfiguration;

NS_ASSUME_NONNULL_BEGIN

/**
Internal Type exposed to facilitate transition to Swift.
API Subject to change or removal without warning. Do not use.
@warning INTERNAL - DO NOT USE
*/
NS_SWIFT_NAME(_AEMInvocation)
@interface FBAEMInvocation : NSObject <NSCopying, NSSecureCoding>

@property (nonatomic, readonly, copy) NSString *campaignID;

@property (nonatomic, readonly, copy) NSString *ACSToken;

@property (nullable, nonatomic, readonly, copy) NSString *ACSSharedSecret;

@property (nullable, nonatomic, readonly, copy) NSString *ACSConfigID;

@property (nullable, nonatomic, readonly, copy) NSString *businessID;

@property (nullable, nonatomic, readonly, copy) NSString *catalogID;

@property (nonatomic, readonly, assign) BOOL isTestMode;

@property (nonatomic, readonly, assign) BOOL hasSKAN;

@property (nonatomic, readonly, assign) BOOL isConversionFilteringEligible;

@property (nonatomic, readonly, copy) NSDate *timestamp;

@property (nonatomic, readonly, copy) NSString *configMode;

/// The unique identifier of the config, it's the same as config's validFrom
@property (nonatomic, readonly, assign) NSInteger configID;

@property (nonatomic, readonly) NSMutableSet<NSString *> *recordedEvents;

@property (nonatomic, readonly) NSMutableDictionary<NSString *, NSMutableDictionary<NSString *, id> *> *recordedValues;

@property (nonatomic, readonly, assign) NSInteger conversionValue;

@property (nonatomic, readonly, assign) NSInteger priority;

@property (nullable, nonatomic, readonly) NSDate *conversionTimestamp;

@property (nonatomic, assign) BOOL isAggregated;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

+ (nullable instancetype)invocationWithAppLinkData:(nullable NSDictionary<id, id> *)applinkData;

- (BOOL)attributeEvent:(NSString *)event
currency:(nullable NSString *)currency
value:(nullable NSNumber *)value
parameters:(nullable NSDictionary<NSString *, id> *)parameters
configs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs
shouldUpdateCache:(BOOL)shouldUpdateCache;

- (BOOL)updateConversionValueWithConfigs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs
event:(NSString *)event
shouldBoostPriority:(BOOL)shouldBoostPriority;

- (BOOL)isOptimizedEvent:(NSString *)event
configs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs;

- (BOOL)isOutOfWindowWithConfigs:(nullable NSDictionary<NSString *, NSArray<FBAEMConfiguration *> *> *)configs;

- (nullable NSString *)getHMAC:(NSInteger)delay;

@end

NS_ASSUME_NONNULL_END

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <TargetConditionals.h>
Loading

0 comments on commit f31a972

Please sign in to comment.