Skip to content

Commit

Permalink
Max 11.11.3 Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Sep 27, 2023
1 parent 0a6e7bd commit 97c445a
Show file tree
Hide file tree
Showing 210 changed files with 11,722 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/2018.3326/android/corona.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ repositories {
}

dependencies {
implementation 'com.applovin.mediation:fyber-adapter:8.2.2.0'
implementation 'com.applovin.mediation:fyber-adapter:8.2.4.0'
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// DTXLogger.h
// IASDKCore
//
// Created on 15/06/2021.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, DTXLogLevel) {
/**
@brief Disabled.
*/
DTXLogLevelOff = 0,

/**
@brief Includes system-level or multi-process information when reporting system errors
*/
DTXLogLevelFault = 1,

/**
@brief Includes process-level errors
*/
DTXLogLevelError = 2,

/**
@brief Includes info, error fault logging.
*/
DTXLogLevelInfo = 3,

/**
@brief Includes debug information, and all types of logging.
*/
DTXLogLevelDebug = 4,
};

NS_ASSUME_NONNULL_BEGIN

@interface DTXLogger : NSObject

+ (void)setLogLevel:(DTXLogLevel)logLevel;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// FMPBiddingManager.h
// IASDKCore
//
// Created by Digital Turbine on 25/03/2021.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <IASDKCore/IAInterfaceSingleton.h>

@interface FMPBiddingManager : NSObject<IAInterfaceSingleton>

- (NSString * _Nullable)biddingToken;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// IAAdModel.h
// IASDKCore
//
// Created by Digital Turbine on 13/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <IASDKCore/IAInterfaceContentModel.h>

@interface IAAdModel : NSObject <NSCopying>

@property (nonatomic, readonly, getter=isRewarded) BOOL rewarded;

/**
* @discussion Ad model is base; this member extends it to concrete type ad model.
*/
@property (nonatomic, strong, nullable, readonly) id<IAInterfaceContentModel> contentModel;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
//
// IAAdRequest.h
// IASDKCore
//
// Created by Digital Turbine on 13/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <IASDKCore/IAInterfaceBuilder.h>
#import <IASDKCore/IARequest.h>
#import <IASDKCore/IAInterfaceAdDescription.h>

@class IAUserData;
@class IADebugger;
@class IAMediation;

@protocol IAAdRequestBuilder <NSObject>

@required

@property (nonatomic) BOOL useSecureConnections;

/**
* @brief A mandatory parameter.
*/
@property (nonatomic, copy, nonnull) NSString *spotID;

/**
* @brief The request timeout in seconds before the 'ready on client' will be received.
*
* @discussion The min value is 1, the max value is 180, the default is 10. In case the input param is out of bounds, the default one will be set.
*/
@property (nonatomic) NSTimeInterval timeout;

@property (nonatomic, copy, nullable) IADebugger *debugger;

/**
* @brief Subtype expected configuration. In case a certain type of ad has extra configuration, assign it here.
*/
@property (nonatomic, copy, nullable) id<IAInterfaceAdDescription> subtypeDescription;

@end

@interface IAAdRequest : IARequest <IAInterfaceBuilder, IAAdRequestBuilder, NSCopying>

/**
* @brief Use in order to determine type of unit returned.
* @discussion Will be assigned at response parsing phase.
*/
@property (nonatomic, strong, nullable, readonly) NSString *unitID;

+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAAdRequestBuilder> _Nonnull builder))buildBlock;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//
// IAAdSpot.h
// IASDKCore
//
// Created by Digital Turbine on 13/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <IASDKCore/IAInterfaceBuilder.h>

@class IAAdRequest;
@class IAMediation;
@class IAAdModel;
@class IAAdSpot;

@class IAUnitController;

typedef void (^IAAdSpotAdResponseBlock)(IAAdSpot * _Nullable adSpot, IAAdModel * _Nullable adModel, NSError * _Nullable error);

@protocol IAAdSpotBuilder <NSObject>

@required
@property (atomic, copy, nonnull) IAAdRequest *adRequest;
@property (nonatomic, copy, nonnull) IAMediation *mediationType DEPRECATED_MSG_ATTRIBUTE("In current version setting this property set corresponding value also for IASDKCore.sharedInstance. In the next SDK version this property will be removed. Please use 'mediationType' property of IASDKCore instance instead.");

- (void)addSupportedUnitController:(IAUnitController * _Nonnull)supportedUnitController;

@end

@interface IAAdSpot : NSObject <IAInterfaceBuilder, IAAdSpotBuilder>

/**
* @brief The unit controller, that is relevant to the received ad unit.
*/
@property (atomic, weak, readonly, nullable) IAUnitController *activeUnitController;

@property (nonatomic, strong, readonly, nullable) IAAdModel *model;

+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAAdSpotBuilder> _Nonnull builder))buildBlock;

/**
* @brief Fetch ad. Ad response block must be provided, otherwise fetch will not be performed.
*
* @discussion Ad response block will be retained, therefore 'self' should not be used insided this block. Please use weak reference to 'self' instead.
* This block will be invoked both on first ad request result, and on ad refresh result.
*/
- (void)fetchAdWithCompletion:(IAAdSpotAdResponseBlock _Nonnull)completionHandler;

- (void)loadAdWithMarkup:(NSString * _Nullable)admString withCompletion:(IAAdSpotAdResponseBlock _Nonnull)completionHandler;

/**
* @brief Use for being notified about ad reload result.
* @discussion IA SDK will copy this block, if you want to clear it, you should provide a 'nil' value.
*/
- (void)setAdRefreshCompletion:(IAAdSpotAdResponseBlock _Nonnull)completionHandler;

- (void)refreshAd;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// IAAdView.h
// IASDKCore
//
// Created by Digital Turbine on 14/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import <IASDKCore/IABaseView.h>

@interface IAAdView : IABaseView

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// IABaseView.h
// IASDKCore
//
// Created by Digital Turbine on 09/09/2019.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface IABaseView : UIView

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// IAContentController.h
// IASDKCore
//
// Created by Digital Turbine on 19/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
* @brief Abstract base class.
*/
@interface IAContentController : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
////
// IACoppaApplies.h
// IASDKCore
//
// Created by DT on 03/01/2023.
// Copyright © 2023 DT. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, IACoppaAppliesType) {
IACoppaAppliesTypeUnknown = -1,
IACoppaAppliesTypeDenied = 0,
IACoppaAppliesTypeGiven = 1
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// IADebugger.h
// IASDKCore
//
// Created by Digital Turbine on 15/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <IASDKCore/IAInterfaceBuilder.h>

@protocol IADebuggerBuilder <NSObject>

@required

@property (nonatomic, copy, nullable) NSString *server;
@property (nonatomic, copy, nullable) NSString *database;
@property (nonatomic, copy, nullable) NSString *mockResponsePath;
@property (nonatomic, copy, nullable) NSString *localJSONResponsePath;

@property (class, nonatomic, copy, nullable) NSString *localJSONConfigPath;
@property (class, nonatomic, copy, nullable) NSString *globalConfigPath;
@property (class, nonatomic) BOOL adReportingEnabled;

@end

@interface IADebugger : NSObject <IAInterfaceBuilder, IADebuggerBuilder, NSCopying>

+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IADebuggerBuilder> _Nonnull builder))buildBlock;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//
// IAFullscreenUnitController.h
// IASDKCore
//
// Created by Digital Turbine on 14/03/2017.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import <IASDKCore/IAInterfaceBuilder.h>
#import <IASDKCore/IAUnitController.h>
#import <IASDKCore/IAUnitDelegate.h>

@protocol IAFullscreenUnitControllerBuilder <IAUnitControllerBuilderProtocol>

@required
@property (nonatomic, weak, nullable) id<IAUnitDelegate> unitDelegate;

@end

@interface IAFullscreenUnitController : IAUnitController <IAInterfaceBuilder, IAFullscreenUnitControllerBuilder>

+ (instancetype _Nullable)build:(void(^ _Nonnull)(id<IAFullscreenUnitControllerBuilder> _Nonnull builder))buildBlock;

/**
* @brief Presents fullscreen ad.
*
* @discussion The delegate method '- (UIViewController * _Nonnull)IAParentViewControllerForAdController:(IAUnitController * _Nullable)unitController'
* must be implemented.
*/
- (void)showAdAnimated:(BOOL)flag completion:(void (^ _Nullable)(void))completion;

/**
* @brief Tells whether a creative is presented.
*/
- (BOOL)isPresented;

- (void)removeAd;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// IAGDPRConsent.h
// IASDKCore
//
// Created by Digital Turbine on 08/06/2018.
// Copyright (c) 2022 Digital Turbine. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, IAGDPRConsentType) {
IAGDPRConsentTypeUnknown = -1,
IAGDPRConsentTypeDenied = 0,
IAGDPRConsentTypeGiven = 1
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// IAGlobalAdDelegate.h
// IASDKCore
//
// Created by Digital Turbine on 08/12/2019.
// Copyright © 2022 Digital Turbine. All rights reserved.
//

#ifndef IAGlobalAdDelegate_h
#define IAGlobalAdDelegate_h

#import <IASDKCore/IAAdRequest.h>
#import <IASDKCore/IAImpressionData.h>

@protocol IAGlobalAdDelegate <NSObject>

@required
/**
* @brief The impression info of the shown ad.
*/
- (void)adDidShowWithImpressionData:(IAImpressionData * _Nonnull)impressionData withAdRequest:(IAAdRequest * _Nonnull)adRequest;

@end

#endif /* IAGlobalAdDelegate_h */
Loading

0 comments on commit 97c445a

Please sign in to comment.