Skip to content

Commit

Permalink
Update iOS to v6.15.3
Browse files Browse the repository at this point in the history
* Update Strict .a file and source files to v6.15.3
  • Loading branch information
af-obodovskyi committed Oct 4, 2024
1 parent 7640476 commit 120056c
Show file tree
Hide file tree
Showing 8 changed files with 561 additions and 14 deletions.
68 changes: 68 additions & 0 deletions Classes/Strict/AppsFlyer/libAppsFlyer/AFAdRevenueData.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// AFAdRevenueData.h
// AppsFlyerLib
//
// Created by Veronica Belyakov on 26/06/2024.
//

typedef NS_CLOSED_ENUM(NSUInteger, AppsFlyerAdRevenueMediationNetworkType) {
AppsFlyerAdRevenueMediationNetworkTypeGoogleAdMob = 1,
AppsFlyerAdRevenueMediationNetworkTypeIronSource = 2,
AppsFlyerAdRevenueMediationNetworkTypeApplovinMax= 3,
AppsFlyerAdRevenueMediationNetworkTypeFyber = 4,
AppsFlyerAdRevenueMediationNetworkTypeAppodeal = 5,
AppsFlyerAdRevenueMediationNetworkTypeAdmost = 6,
AppsFlyerAdRevenueMediationNetworkTypeTopon = 7,
AppsFlyerAdRevenueMediationNetworkTypeTradplus = 8,
AppsFlyerAdRevenueMediationNetworkTypeYandex = 9,
AppsFlyerAdRevenueMediationNetworkTypeChartBoost = 10,
AppsFlyerAdRevenueMediationNetworkTypeUnity = 11,
AppsFlyerAdRevenueMediationNetworkTypeToponPte = 12,
AppsFlyerAdRevenueMediationNetworkTypeCustom = 13,
AppsFlyerAdRevenueMediationNetworkTypeDirectMonetization = 14
} NS_SWIFT_NAME(MediationNetworkType);

#define kAppsFlyerAdRevenueMonetizationNetwork @"monetization_network"
#define kAppsFlyerAdRevenueMediationNetwork @"mediation_network"
#define kAppsFlyerAdRevenueEventRevenue @"event_revenue"
#define kAppsFlyerAdRevenueEventRevenueCurrency @"event_revenue_currency"
#define kAppsFlyerAdRevenueCustomParameters @"custom_parameters"
#define kAFADRWrapperTypeGeneric @"adrevenue_sdk"

//Pre-defined keys for non-mandatory dictionary

//Code ISO 3166-1 format
#define kAppsFlyerAdRevenueCountry @"country"

//ID of the ad unit for the impression
#define kAppsFlyerAdRevenueAdUnit @"ad_unit"

//Format of the ad
#define kAppsFlyerAdRevenueAdType @"ad_type"

//ID of the ad placement for the impression
#define kAppsFlyerAdRevenuePlacement @"placement"


@interface AFAdRevenueData : NSObject

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

@property (strong, nonnull, nonatomic) NSString *monetizationNetwork;
@property AppsFlyerAdRevenueMediationNetworkType mediationNetwork;
@property (strong, nonnull, nonatomic) NSString *currencyIso4217Code;
@property (strong, nonnull, nonatomic) NSNumber *eventRevenue;

/**
* @param monetizationNetwork network which monetized the impression (@"facebook")
* @param mediationNetwork mediation source that mediated the monetization network for the impression (AppsFlyerAdRevenueMediationNetworkTypeGoogleAdMob)
* @param currencyIso4217Code reported impression’s revenue currency ISO 4217 format (@"USD")
* @param eventRevenue reported impression’s revenue (@(0.001994303))
*/
- (instancetype _Nonnull )initWithMonetizationNetwork:(NSString *_Nonnull)monetizationNetwork
mediationNetwork:(AppsFlyerAdRevenueMediationNetworkType)mediationNetwork
currencyIso4217Code:(NSString *_Nonnull)currencyIso4217Code
eventRevenue:(NSNumber *_Nonnull)eventRevenue;

@end
23 changes: 23 additions & 0 deletions Classes/Strict/AppsFlyer/libAppsFlyer/AFSDKPurchaseDetails.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// AFSDKPurchaseDetails.h
// AppsFlyerLib
//
// Created by Moris Gateno on 13/03/2024.
//

@interface AFSDKPurchaseDetails : NSObject

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

@property (strong, nullable, nonatomic) NSString *productId;
@property (strong, nullable, nonatomic) NSString *price;
@property (strong, nullable, nonatomic) NSString *currency;
@property (strong, nullable, nonatomic) NSString *transactionId;

- (instancetype _Nonnull )initWithProductId:(NSString *_Nullable)productId
price:(NSString *_Nullable)price
currency:(NSString *_Nullable)currency
transactionId:(NSString *_Nullable)transactionId;

@end
35 changes: 35 additions & 0 deletions Classes/Strict/AppsFlyer/libAppsFlyer/AFSDKValidateAndLogResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// AFSDKValidateAndLogResult.h
// AppsFlyerLib
//
// Created by Moris Gateno on 13/03/2024.
//


typedef NS_CLOSED_ENUM(NSUInteger, AFSDKValidateAndLogStatus) {
AFSDKValidateAndLogStatusSuccess,
AFSDKValidateAndLogStatusFailure,
AFSDKValidateAndLogStatusError
} NS_SWIFT_NAME(ValidateAndLogStatus);

NS_SWIFT_NAME(ValidateAndLogResult)
@interface AFSDKValidateAndLogResult : NSObject

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

- (instancetype _Nonnull )initWithStatus:(AFSDKValidateAndLogStatus)status
result:(NSDictionary *_Nullable)result
errorData:(NSDictionary *_Nullable)errorData
error:(NSError *_Nullable)error;

@property(readonly) AFSDKValidateAndLogStatus status;
// Success case
@property(readonly, nullable) NSDictionary *result;
// Server 200 with validation failure
@property(readonly, nullable) NSDictionary *errorData;
// for the error case
@property(readonly, nullable) NSError *error;

@end

26 changes: 26 additions & 0 deletions Classes/Strict/AppsFlyer/libAppsFlyer/AppsFlyerConsent.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// AppsFlyerConsent.h
// AppsFlyerLib
//
// Created by Veronica Belyakov on 14/01/2024.
//
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AppsFlyerConsent : NSObject <NSCoding>

@property (nonatomic, readonly, assign) BOOL isUserSubjectToGDPR;
@property (nonatomic, readonly, assign) BOOL hasConsentForDataUsage;
@property (nonatomic, readonly, assign) BOOL hasConsentForAdsPersonalization;

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

- (instancetype)initForGDPRUserWithHasConsentForDataUsage:(BOOL)hasConsentForDataUsage
hasConsentForAdsPersonalization:(BOOL)hasConsentForAdsPersonalization NS_DESIGNATED_INITIALIZER;
- (instancetype)initNonGDPRUser NS_DESIGNATED_INITIALIZER;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 120056c

Please sign in to comment.