fix:1、接入外部sdk
This commit is contained in:
@@ -10,15 +10,30 @@
|
||||
#import "AppsFlyerAttribution.h"
|
||||
#if __has_include(<AppsFlyerLib/AppsFlyerLib.h>)
|
||||
#import <AppsFlyerLib/AppsFlyerLib.h>
|
||||
#import "AppsFlyerLib/AppsFlyerLib-Swift.h"
|
||||
#else
|
||||
#import "AppsFlyerLib.h"
|
||||
#import "AppsFlyerLib-Swift.h"
|
||||
#endif
|
||||
#if __has_include(<PurchaseConnector/PurchaseConnector.h>)
|
||||
#import <PurchaseConnector/PurchaseConnector.h>
|
||||
#else
|
||||
#import "PurchaseConnector.h"
|
||||
#endif
|
||||
#import <PurchaseConnector/PurchaseConnector-Swift.h>
|
||||
|
||||
// Add StoreKit 2 support
|
||||
#if __has_include(<StoreKit/StoreKit.h>)
|
||||
#import <StoreKit/StoreKit.h>
|
||||
#endif
|
||||
|
||||
@interface AppsFlyeriOSWarpper : NSObject <AppsFlyerLibDelegate, AppsFlyerDeepLinkDelegate>
|
||||
@interface AppsFlyeriOSWarpper : NSObject <AppsFlyerLibDelegate, AppsFlyerDeepLinkDelegate, AppsFlyerPurchaseRevenueDelegate, AppsFlyerPurchaseRevenueDataSource, AppsFlyerPurchaseRevenueDataSourceStoreKit2>
|
||||
|
||||
+ (BOOL) didCallStart;
|
||||
+ (void) setDidCallStart:(BOOL)val;
|
||||
|
||||
// Add StoreKit 2 methods
|
||||
- (void)setStoreKitVersion:(int)storeKitVersion;
|
||||
- (void)logConsumableTransaction:(id)transaction;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -50,3 +65,7 @@ static NSString* startRequestObjectName = @"";
|
||||
static NSString* inAppRequestObjectName = @"";
|
||||
static NSString* onDeeplinkingObjectName = @"";
|
||||
|
||||
static const char* PURCHASE_REVENUE_VALIDATION_CALLBACK = "didReceivePurchaseRevenueValidationInfo";
|
||||
static const char* PURCHASE_REVENUE_ERROR_CALLBACK = "didReceivePurchaseRevenueError";
|
||||
|
||||
static NSString* onPurchaseValidationObjectName = @"";
|
||||
|
||||
Reference in New Issue
Block a user