lipengwei
2020-05-27 0742f1b913e1c0d9c6440e014da8c0518a089dc1
3.8.4
9 files modified
7 files added
1228 ■■■■ changed files
WACbImpl.podspec 6 ●●●● patch | view | raw | blame | history
WACbImpl/3.8.4/WACbImpl.podspec 26 ●●●●● patch | view | raw | blame | history
config/wa_sdk_impl_config_chartboost.xml 2 ●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Chartboost patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CBInPlay.h 2 ●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CHBAd.h 57 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CHBAdDelegate.h 322 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CHBBanner.h 133 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CHBInterstitial.h 118 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CHBRewarded.h 124 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost+Mediation.h 101 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h 304 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/ChartboostDelegate.h 31 ●●●●● patch | view | raw | blame | history
frameworks/WACbImpl.framework/Headers/WACbImpl.h 2 ●●● patch | view | raw | blame | history
frameworks/WACbImpl.framework/Info.plist patch | view | raw | blame | history
frameworks/WACbImpl.framework/WACbImpl patch | view | raw | blame | history
WACbImpl.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WACbImpl'
s.version = '3.8.2'
s.version = '3.8.4'
s.summary = 'WACbImpl framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
@@ -21,6 +21,6 @@
s.resources = ['config/*.xml']
s.frameworks = 'Webkit'
s.requires_arc = true
s.dependency 'WASdkIntf', '~> 3.8.2'   #此处添加私有库依赖
s.dependency 'WASdkImpl', '~> 3.8.2'
s.dependency 'WASdkIntf'
s.dependency 'WASdkImpl'
end
WACbImpl/3.8.4/WACbImpl.podspec
New file
@@ -0,0 +1,26 @@
#
#  Be sure to run `pod spec lint WACbImpl.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = 'WACbImpl'
s.version = '3.8.4'
s.summary = 'WACbImpl framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
s.homepage = 'http://repo.wingsdk.cn:8082/summary/WACbImpl.git'
s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WACbImpl.git" , :tag => s.version}
s.platform = :ios
s.ios.deployment_target = "7.0"
s.vendored_frameworks = 'frameworks/*.framework'
s.resources = ['config/*.xml']
s.frameworks = 'Webkit'
s.requires_arc = true
s.dependency 'WASdkIntf'
s.dependency 'WASdkImpl'
end
config/wa_sdk_impl_config_chartboost.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <version val="CB3.8.2"/>
    <version val="CB3.8.4"/>
    <comps>
        <!-- 数据收集模块 -->
        <comp module="TRA" plaf="CHARTBOOST" mandatory="YES" value="WACBTrack" desc="CHARTBOOST数据统计"/>
frameworks/Chartboost.framework/Versions/A/Chartboost
Binary files differ
frameworks/Chartboost.framework/Versions/A/Headers/CBInPlay.h
@@ -1,7 +1,7 @@
/*
 * CBInPlay.h
 * Chartboost
 * 7.5.0
 * 8.1.0
 *
 * Copyright 2018 Chartboost. All rights reserved.
 */
frameworks/Chartboost.framework/Versions/A/Headers/CHBAd.h
New file
@@ -0,0 +1,57 @@
/*
 * CHBAd.h
 * Chartboost
 *
 * Copyright 2019 Chartboost. All rights reserved.
 */
#import <UIKit/UIKit.h>
#import "ChartboostDelegate.h"
@protocol CHBAdDelegate;
NS_ASSUME_NONNULL_BEGIN
/*!
 @protocol CHBAd
 @brief The protocol to which all Chartboost ads conform to.
 @discussion Provides an interface for basic functionalities common to all ads.
 */
@protocol CHBAd <NSObject>
/*!
 @brief The delegate instance to receive ad callbacks.
 */
@property (nonatomic, weak, nullable) id<CHBAdDelegate> delegate;
/*!
 @brief Chartboost location for the ad.
 @discussion Used to obtain ads with increased performance.
 */
@property (nonatomic, readonly) CBLocation location;
/*!
 @brief Determines if a cached ad exists.
 @return YES if there is a cached ad, and NO if not.
 */
@property (nonatomic, readonly) BOOL isCached;
/*!
 @brief Caches an ad.
 @discussion This method will first check if there is a cached ad and, if found, will do nothing.
 If no cached ad exists the method will attempt to fetch it from the Chartboost server.
 Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
 */
- (void)cache;
/*!
 @brief Shows an ad.
 @param viewController The view controller to present the ad on.
 @discussion This method will first check if there is a cached ad, if found it will present it.
 It is highly recommended that a non-nil view controller is passed, as it is required for enhanced ad presentation and some features like opening links in an in-app web browser.
 */
- (void)showFromViewController:(nullable UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/CHBAdDelegate.h
New file
@@ -0,0 +1,322 @@
/*
 * CHBAdDelegate.h
 * Chartboost
 *
 * Copyright 2019 Chartboost. All rights reserved.
 */
#import "CHBAd.h"
NS_ASSUME_NONNULL_BEGIN
// MARK: - Events
/*!
 @class CHBAdEvent
 @brief The base class from which all delegate events inherit from.
 @discussion Event objects are passed as parameters to all ad delegate methods to provide useful context.
 */
@interface CHBAdEvent : NSObject
/*!
 @brief The ad related to the event.
 */
@property (nonatomic, readonly) id<CHBAd> ad;
@end
/*!
 @class CHBCacheEvent
 @brief A CHBAdEvent subclass passed on cache-related delegate methods.
 */
@interface CHBCacheEvent : CHBAdEvent
@end
/*!
 @class CHBShowEvent
 @brief A CHBAdEvent subclass passed on show-related delegate methods.
 */
@interface CHBShowEvent : CHBAdEvent
@end
/*!
 @class CHBClickEvent
 @brief A CHBAdEvent subclass passed on click-related delegate methods.
 */
@interface CHBClickEvent : CHBAdEvent
/*!
 @brief The view controller used to present the viewer for the link associated with the click.
 @discussion This is the view controller you passed on the showFromViewController: call or a Chartboost ad view controller which was presented on top of it. If you called showFromViewController: passing a nil view controller this property will be nil too.
 You may use it to present your custom click confirmation gate if you implement the shouldConfirmClick:confirmationHandler: ad delegate method.
 */
@property (nonatomic, readonly, nullable) UIViewController *viewController;
@end
/*!
 @class CHBDismissEvent
 @brief A CHBAdEvent subclass passed on dismiss-related delegate methods.
 */
@interface CHBDismissEvent : CHBAdEvent
@end
/*!
 @class CHBRewardEvent
 @brief A CHBAdEvent subclass passed on reward-related delegate methods.
 */
@interface CHBRewardEvent : CHBAdEvent
/*!
 @brief The earned reward.
 */
@property (nonatomic, readonly) NSInteger reward;
@end
// MARK: - Errors
/*!
 @typedef NS_ENUM (NSUInteger, CHBCacheErrorCode)
 @brief Error codes for failed cache operations.
 */
typedef NS_ENUM(NSUInteger, CHBCacheErrorCode) {
    CHBCacheErrorCodeInternal = 0,
    CHBCacheErrorCodeInternetUnavailable = 1,
    CHBCacheErrorCodeNetworkFailure = 5,
    CHBCacheErrorCodeNoAdFound = 6,
    CHBCacheErrorCodeSessionNotStarted = 7,
    CHBCacheErrorCodeAssetDownloadFailure = 16,
    CHBCacheErrorCodePublisherDisabled = 35
};
/*!
 @class CHBCacheError
 @brief An error object passed on cache-related delegate methods.
 */
@interface CHBCacheError : NSObject
/*! @brief Error code that indicates the failure reason. */
@property (nonatomic, readonly) CHBCacheErrorCode code;
@end
/*!
 @typedef NS_ENUM (NSUInteger, CHBShowErrorCode)
 @brief Error codes for failed show operations.
 */
typedef NS_ENUM(NSUInteger, CHBShowErrorCode) {
    CHBShowErrorCodeInternal = 0,
    CHBShowErrorCodeSessionNotStarted = 7,
    CHBShowErrorCodeAdAlreadyVisible = 8,
    CHBShowErrorCodeInternetUnavailable = 25,
    CHBShowErrorCodePresentationFailure = 33,
    CHBShowErrorCodeNoCachedAd = 34
};
/*!
 @class CHBShowError
 @brief An error object passed on show-related delegate methods.
 */
@interface CHBShowError : NSObject
/*! @brief Error code that indicates the failure reason. */
@property (nonatomic, readonly) CHBShowErrorCode code;
@end
/*!
 @typedef NS_ENUM (NSUInteger, CHBClickErrorCode)
 @brief Error codes for failed click operations.
 */
typedef NS_ENUM(NSUInteger, CHBClickErrorCode) {
    CHBClickErrorCodeUriInvalid = 0,
    CHBClickErrorCodeUriUnrecognized = 1,
    CHBClickErrorCodeConfirmationGateFailure = 2,
    CHBClickErrorCodeInternal = 3
};
/*!
 @class CHBClickError
 @brief An error object passed on click-related delegate methods.
 */
@interface CHBClickError : NSObject
/*! @brief Error code that indicates the failure reason. */
@property (nonatomic, readonly) CHBClickErrorCode code;
@end
// MARK: - Delegate
/*!
 @protocol CHBAdDelegate
 @brief The protocol which all Chartboost ad delegates inherit from.
 @discussion Provides methods to receive notifications related to an ad's actions and to control its behavior.
 */
@protocol CHBAdDelegate <NSObject>
@optional
/*!
 @brief Called after a cache call, either if an ad has been loaded from the Chartboost servers and cached, or tried to but failed.
 @param event A cache event with info related to the cached ad.
 @param error An error specifying the failure reason, or nil if the operation was successful.
 @discussion Implement to be notified of when an ad is ready to be shown after the cache method has been called.
 A typical implementation would look like this:
 @code
 - (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
    if (error) {
        // Handle error
    } else {
        // At this point event.ad.isCached will be true, and the ad is ready to be shown.
    }
 }
 @endcode
 */
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error;
/*!
 @brief Called after a showFromViewController: call, right before an ad is presented.
 @param event A show event with info related to the ad to be shown.
 @discussion Implement to be notified of when an ad is about to be presented.
 A typical implementation would look like this:
 @code
 - (void)willShowAd:(CHBShowEvent *)event {
    // Pause ongoing processes like video or gameplay.
 }
 @endcode
 */
- (void)willShowAd:(CHBShowEvent *)event;
/*!
 @brief This method is deprecated in favor of willShowAd:, the error parameter will always be nil.
 If implemented, both willShowAd:error: and willShowAd: will be called when the corresponding event occurs.
 */
- (void)willShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error DEPRECATED_MSG_ATTRIBUTE("Please use willShowAd: instead. This method is deprecated and will be removed in a future version.");
/*!
 @brief Called after a showFromViewController: call, either if the ad has been presented and an ad impression logged, or if the operation failed.
 @param event A show event with info related to the ad shown.
 @param error An error specifying the failure reason, or nil if the operation was successful.
 @discussion Implement to be notified of when the ad presentation process has finished. Note that this method may be called more than once if some error occurs after the ad has been successfully shown.
 A common practice consists of caching an ad here so there's an ad ready for the next time you need to show it.
 Note that this is not necessary for banners with automaticallyRefreshesContent set to YES.
 @code
 - (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error {
    if (error) {
        // Handle error, possibly resuming processes paused in willShowAd:
    } else {
        [event.ad cache];
    }
 }
 @endcode
 */
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
/*!
 @brief Called whenever the user clicks an ad to give a chance to the developer to present a confirmation gate before the click is handled.
 @param event A click event with info related to the ad clicked.
 @param confirmationHandler A block to be executed only if the return value is YES. It takes a BOOL parameter that indicates if the confirmation gate was passed or not.
 @return YES if the handling of the triggering click should be paused for confirmation, NO if the click should be handled without confirmation.
 @warning If you return YES in your implementation make sure to execute the confirmationHandler at some point, since the ad flow will be paused until then.
 If you use the event's view controller to present a confirmation view make sure it has been dismissed by the time you execute the confirmation handler.
 @discussion If you return YES it is your responsibility to implement some confirmation method that triggers the execution of the confirmationHandler.
 If this method is not implemented clicks will be handled without confirmation.
 A typical implementation would look like this:
 @code
 - (BOOL)shouldConfirmClick:(CHBClickEvent *)event confirmationHandler:(void(^)(BOOL))confirmationHandler
    if (self.needsClickConfirmation) {
        MyAwesomeAgeGate *ageGate = [[MyAwesomeAgeGate alloc] initWithCompletion:^(BOOL confirmed) {
            [ageGate dismissViewControllerAnimated:YES completion:^{
                confirmationHandler(confirmed);
            }];
        }];
        [event.viewController presentViewController:ageGate animated:YES completion:nil];
        return YES;
    } else {
        return NO;
    }
 }
 @endcode
 */
- (BOOL)shouldConfirmClick:(CHBClickEvent *)event confirmationHandler:(void(^)(BOOL))confirmationHandler;
/*!
 @brief Called after an ad has been clicked.
 @param event A click event with info related to the ad clicked.
 @param error An error specifying the failure reason, or nil if the operation was successful.
 @discussion Implement to be notified of when an ad has been clicked.
 If the click does not result into the opening of a link an error will be provided explaning why.
 A typical implementation would look like this:
 @code
 - (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
    if (error) {
        // Handle error
    } else {
        // Maybe pause ongoing processes like video or gameplay.
    }
 }
 @endcode
 */
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error;
/*!
 @brief Called when the link viewer presented as result of an ad click has been dismissed.
 @param event A click event with info related to the ad clicked.
 @param error An error specifying the failure reason, or nil if the operation was successful.
 @discussion Implement to be notified of when an ad click has been handled.
 This can mean an in-app web browser or App Store app sheet has been dismissed, or that the user came back to the app after the link was opened on an external application.
 A typical implementation would look like this:
 @code
 - (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
    // Resume processes previously paused on didClickAd:error: implementation.
 }
 @endcode
 */
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error;
@end
/*!
 @protocol CHBDismissableAdDelegate
 @brief Delegate protocol for ads that can be dismissed.
 @discussion Provides methods to receive notifications related to an ad's actions and to control its behavior.
 */
@protocol CHBDismissableAdDelegate <CHBAdDelegate>
@optional
/*!
 @brief Called after an ad is dismissed.
 @param event A dismiss event with info related to the dismissed ad.
 @discussion Implement to be notified of when an ad is no longer displayed.
 A typical implementation would look like this:
 @code
 - (void)didDismissAd:(CHBCacheEvent *)event {
    // Resume processes paused in willShowAd:
 }
 @endcode
 */
- (void)didDismissAd:(CHBDismissEvent *)event;
@end
/*!
 @protocol CHBRewardableAdDelegate
 @brief Delegate protocol for ads that can provide a reward.
 @discussion Provides methods to receive notifications related to an ad's actions and to control its behavior.
 */
@protocol CHBRewardableAdDelegate <CHBAdDelegate>
@optional
/*!
 @brief Called when a rewarded ad has completed playing.
 @param event A reward event with info related to the ad and the reward.
 @discussion Implement to be notified when a reward is earned.
 */
- (void)didEarnReward:(CHBRewardEvent *)event;
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/CHBBanner.h
New file
@@ -0,0 +1,133 @@
/*
 * CHBBanner.h
 * Chartboost
 *
 * Copyright 2019 Chartboost. All rights reserved.
 */
#import "CHBAd.h"
#import "CHBAdDelegate.h"
NS_ASSUME_NONNULL_BEGIN
/*!
 @typedef CHBBannerSize
 @brief Defines standard sizes for CHBBanner objects.
 @discussion Standard sizes used to describe default banner bounds.
 */
typedef CGSize const CHBBannerSize;
/*! "Banner" - Standard banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeStandard;
/*! "Medium Rect" - Medium banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeMedium;
/*! "Tablet" - Leaderboard banner size on tablets. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeLeaderboard;
/*!
 @protocol CHBBannerDelegate
 @brief Banner delegate protocol that inherits from CHBAdDelegate.
 @discussion Provides methods to receive notifications related to a banner's actions and to control its behavior.
 */
@protocol CHBBannerDelegate <CHBAdDelegate>
@end
/*!
 @class CHBBanner
 @brief CHBBanner is a UIView subclass able to show banner ads. Once obtained via the provided initializer, the
 developer is responsible of adding it to the app's view hierarchy and laying it out properly.
  @discussion A banner ad has a CHBBannerSize which corresponds to the view's intrinsicContentSize.
 The developer should not give the banner view object a frame size different than its CHBBannerSize property.
 If you are using AutoLayout just give the banner an X and Y position constraint and it will be automatically sized.
 By default a banner will automatically update its content on its own. This means you only need to call showFromViewController: once and the banner will get a new ads and show them, gracefully handling errors if they occur.
 You can create and present as many banners as you want at the same time.
 A typical implementation would look like this:
 @code
 - (void)createAndShowBanner {
    CHBBanner *banner = [[CHBBanner alloc] initWithSize:CHBBannerSizeStandard location:CBLocationDefault delegate:self];
    banner.translatesAutoresizingMaskIntoConstraints = NO;
    [self.view addSubview:banner];
    [NSLayoutConstraint activateConstraints:@[[banner.bottomAnchor constraintEqualToAnchor:self.view.safeAreaLayoutGuide.bottomAnchor],
                                              [banner.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor]]];
    [banner showFromViewController:self];
 }
 @endcode
 For more information on integrating and using the Chartboost SDK please visit our help site documentation at https://help.chartboost.com
 */
@interface CHBBanner : UIView <CHBAd>
/*!
 @brief Chartboost location for the ad.
 @discussion Used to obtain ads with increased performance.
 */
@property (nonatomic, readonly) CBLocation location;
/*!
 @brief Size for the banner ad.
 @discussion You should provide one of the predefined values.
 The `intrinsicContentSize` of the banner view will depend on this value.
 */
@property (nonatomic, readonly) CHBBannerSize size;
/*!
 @brief Set to enable or disable the automatic refresh of a banner's content.
 @warning You should use this property to pause the refresh whenever the banner is no longer visible to the user.
 General cases like full-screen ad presentation, opening of the link for an ad or going to the background are handled by the banner itself so you don't need to worry about them.
 @discussion YES by default.
 The auto refresh cycle won't start until the the method showFromViewController: is called for the first time.
 Since that moment you can let the banner update its content on its own.
*/
@property (nonatomic) BOOL automaticallyRefreshesContent;
/*!
 @brief The delegate instance to receive banner callbacks.
 */
@property (nonatomic, weak, nullable) id<CHBBannerDelegate> delegate;
/*!
 @brief Determines if a cached ad exists.
 @return YES if there is a cached ad, and NO if not.
 @discussion A return value of YES here indicates that a call to showFromViewController: will present without making additional Chartboost server requests to fetch data.
 */
@property (nonatomic, readonly) BOOL isCached;
/*!
 @brief The initializer for the banner object. Default UIView initializers should not be used!
 @param size Size for the banner. See the size property documentation.
 @param location Location for the banner. See the location property documentation.
 @param delegate Delegate for the banner. See the delegate property documentation.
*/
- (instancetype)initWithSize:(CHBBannerSize)size location:(CBLocation)location delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
 @brief Please use initWithSize:location:delegate: instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
 @brief Caches an ad.
 @discussion This method will first check if there is a cached ad and, if found, will do nothing.
 If no cached ad exists the method will attempt to fetch it from the Chartboost server.
 Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
 */
- (void)cache;
/*!
 @brief Shows an ad.
 @param viewController The view controller to present the ad on.
 @discussion This method will first check if there is a cached ad, if found it will present it.
 If no cached ad exists the method will attempt to fetch it from the Chartboost server first.
 If automaticallyRefreshesContent is YES (the default), calling this method causes the banner to start automatically updating its content.
 It is highly recommended that a non-nil view controller is passed, as it is required for enhanced ad presentation and some features like opening links in an in-app web browser.
 Implement didShowAd:error: in your ad delegate to be notified of a show request result, and didCacheAd:error: to be notified of the result of a cache request triggered by showing a non-cached banner.
 */
- (void)showFromViewController:(nullable UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/CHBInterstitial.h
New file
@@ -0,0 +1,118 @@
/*
 * CHBInterstitial.h
 * Chartboost
 *
 * Copyright 2019 Chartboost. All rights reserved.
 */
#import "CHBAd.h"
#import "CHBAdDelegate.h"
NS_ASSUME_NONNULL_BEGIN
/*!
 @protocol CHBInterstitialDelegate
 @brief Interstitial delegate protocol that inherits from CHBAdDelegate.
 @discussion Provides methods to receive notifications related to an interstitial's actions and to control its behavior.
 In a typical integration you would implement willShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
 */
@protocol CHBInterstitialDelegate <CHBDismissableAdDelegate>
@end
/*!
 @class CHBInterstitial
 @brief CHBInterstitial is a full-screen ad.
 @discussion To show an interstitial it first needs to be cached. Trying to show an uncached intersitital will always fail, thus it is recommended to always check if the ad is cached first.
 You can create and cache as many interstitial as you want, but only one can be presented at the same time.
 A basic implementation would look like this:
 @code
 - (void)createAndCacheInterstitial {
    CHBInterstitial *interstitial = [[CHBInterstitial alloc] initWithLocation:CBLocationDefault delegate:self];
    [interstitial cache];
 }
 - (void)showInterstitial {
    if (interstitial.isCached) {
        [interstitial showFromViewController:self];
    }
 }
 // Delegate methods
 - (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
    if (error) {
        // Handle error, possibly scheduling a retry
    }
 }
 - (void)willShowAd:(CHBShowEvent *)event {
    // Pause ongoing processes
 }
 - (void)didDismissAd:(CHBDismissEvent *)event {
    // Resume paused processes
 }
 @endcode
 If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
 For more information on integrating and using the Chartboost SDK please visit our help site documentation at https://help.chartboost.com
 */
@interface CHBInterstitial : NSObject <CHBAd>
/*!
 @brief Chartboost location for the ad.
 @discussion Used to obtain ads with increased performance.
 */
@property (nonatomic, readonly) CBLocation location;
/*!
 @brief The delegate instance to receive interstitial callbacks.
 */
@property (nonatomic, weak, nullable) id<CHBInterstitialDelegate> delegate;
/*!
 @brief Determines if a cached ad exists.
 @return YES if there is a cached ad, and NO if not.
 @discussion A return value of YES here indicates that it is safe to call the showFromViewController: method.
 Calling this method when this value is NO will cause the show request to fail with a CHBShowErrorCodeNoCachedAd error.
 */
@property (nonatomic, readonly) BOOL isCached;
/*!
 @brief The initializer for the interstitial object.
 @param location Location for the interstitial. See the location property documentation.
 @param delegate Delegate for the interstitial. See the delegate property documentation.
 */
- (instancetype)initWithLocation:(CBLocation)location delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
 @brief Please use initWithLocation:delegate: instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
 @brief Caches an ad.
 @discussion This method will first check if there is a cached ad and, if found, will do nothing.
 If no cached ad exists the method will attempt to fetch it from the Chartboost server.
 Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
 */
- (void)cache;
/*!
 @brief Shows an ad.
 @param viewController The view controller to present the ad on.
 @discussion This method will first check if there is a cached ad, if found it will present it.
 If no cached ad exists the request will fail with a CHBShowErrorCodeNoCachedAd error.
 It is highly recommended that a non-nil view controller is passed, as it is required for enhanced ad presentation and some features like opening links in an in-app web browser.
 Implement didShowAd:error: in your ad delegate to be notified of a show request result.
 */
- (void)showFromViewController:(nullable UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/CHBRewarded.h
New file
@@ -0,0 +1,124 @@
//
//  CHBRewarded.h
//  Chartboost
//
//  Created by Daniel Barros on 18/07/2019.
//
#import "CHBAd.h"
#import "CHBAdDelegate.h"
NS_ASSUME_NONNULL_BEGIN
/*!
 @protocol CHBRewardedDelegate
 @brief Rewarded delegate protocol that inherits from CHBAdDelegate.
 @discussion Provides methods to receive notifications related to a rewarded ad's actions and to control its behavior.
 In a typical integration you would implement willShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
 The method didEarnReward: needs to be implemented in order to be notified when the user earns a reward.
 */
@protocol CHBRewardedDelegate <CHBDismissableAdDelegate, CHBRewardableAdDelegate>
@end
/*!
 @class CHBRewarded
 @brief CHBRewarded is a full-screen ad that provides some reward to the user.
 @discussion To show a rewarded ad it first needs to be cached. Trying to show an uncached rewarded ad will always fail, thus it is recommended to always check if the ad is cached first.
 You can create and cache as many rewarded ads as you want, but only one can be presented at the same time.
 A basic implementation would look like this:
 @code
 - (void)createAndCacheRewarded {
    self.rewarded = [[CHBRewarded alloc] initWithLocation:CBLocationDefault delegate:self];
    [self.rewarded cache];
 }
 - (void)showRewarded {
    if (self.rewarded.isCached) {
        [self.rewarded showFromViewController:self];
    }
 }
 // Delegate methods
 - (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
    if (error) {
        // Handle error, possibly scheduling a retry
    }
 }
 - (void)willShowAd:(CHBShowEvent *)event {
    // Pause ongoing processes
 }
 - (void)didDismissAd:(CHBDismissEvent *)event {
    // Resume paused processes
 }
 - (void)didEarnReward:(CHBRewardEvent *)event {
    // Update app state with event.reward
 }
 @endcode
 If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
 For more information on integrating and using the Chartboost SDK please visit our help site documentation at https://help.chartboost.com
 */
@interface CHBRewarded : NSObject <CHBAd>
/*!
 @brief Chartboost location for the ad.
 @discussion Used to obtain ads with increased performance.
 */
@property (nonatomic, readonly) CBLocation location;
/*!
 @brief The delegate instance to receive rewarded ad callbacks.
 */
@property (nonatomic, weak, nullable) id<CHBRewardedDelegate> delegate;
/*!
 @brief Determines if a cached ad exists.
 @return YES if there is a cached ad, and NO if not.
 @discussion A return value of YES here indicates that it is safe to call the showFromViewController: method.
 Calling this method when this value is NO will cause the show request to fail with a CHBShowErrorCodeNoCachedAd error.
 */
@property (nonatomic, readonly) BOOL isCached;
/*!
 @brief The initializer for the rewarded ad object.
 @param location Location for the rewarded ad. See the location property documentation.
 @param delegate Delegate for the rewarded ad. See the delegate property documentation.
 */
- (instancetype)initWithLocation:(CBLocation)location delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
 @brief Please use initWithLocation:delegate: instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
 @brief Caches an ad.
 @discussion This method will first check if there is a cached ad and, if found, will do nothing.
 If no cached ad exists the method will attempt to fetch it from the Chartboost server.
 Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
 */
- (void)cache;
/*!
 @brief Shows an ad.
 @param viewController The view controller to present the ad on.
 @discussion This method will first check if there is a cached ad, if found it will present it.
 If no cached ad exists the request will fail with a CHBShowErrorCodeNoCachedAd error.
 It is highly recommended that a non-nil view controller is passed, as it is required for enhanced ad presentation and some features like opening links in an in-app web browser.
 Implement didShowAd:error: in your ad delegate to be notified of a show request result.
 */
- (void)showFromViewController:(nullable UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost+Mediation.h
New file
@@ -0,0 +1,101 @@
/*
 * Chartboost+Mediation.h
 * Chartboost
 *
 * Copyright 2019 Chartboost. All rights reserved.
 */
#import "Chartboost.h"
#import "CHBBanner.h"
#import "CHBInterstitial.h"
#import "CHBRewarded.h"
NS_ASSUME_NONNULL_BEGIN
// APIs required to integrate Chartboost with a mediation platform.
// If you are the end user of this framework you typically won't need this. It is intended to support mediation adapters and in-house mediation solutions.
// MARK: - CHBMediation
/*!
@class CHBMediation
@brief A class that holds information about the mediation library used to create an ad.
*/
@interface CHBMediation : NSObject
/*! @brief An identifier for the mediation library. */
@property (nonatomic, readonly) CBMediation mediationType;
/*! @brief The mediation library version. */
@property (nonatomic, readonly) NSString *libraryVersion;
/*! @brief The mediation library adapter version. */
@property (nonatomic, readonly) NSString *adapterVersion;
/*!
@brief The initializer for the mediation object.
@param mediationType The mediation library used. Pass CBMediationOther if your mediation is not listed in the predefined values.
@param libraryVersion A string representing the library version. E.g. "5.1.0"
@param adapterVersion A string representing the Chartbooost adapter version for this library. E.g. "5.1.0.1"
*/
- (instancetype)initWithType:(CBMediation)mediationType libraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion;
- (instancetype)init NS_UNAVAILABLE;
@end
// MARK: - CHBBanner Extensions
@interface CHBBanner (MediationAPI)
/*!
 @brief Similar to -[CHBBanner initWithSize:location:delegate], but including a mediation parameter.
 @discussion Use this initializer only if you are writing an adapter to use Chartboost with a mediation solution.
*/
- (instancetype)initWithSize:(CHBBannerSize)size location:(CBLocation)location mediation:(nullable CHBMediation *)mediation delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
 @brief Caches an ad using an OpenRTB bid response.
 @param bidResponse A bid response containing information about the ad to cache in OpenRTB format.
 @discussion Use this method if you want to cache an ad already obtained from a bidding solution.
 Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
@end
// MARK: - CHBInterstitial Extensions
@interface CHBInterstitial (MediationAPI)
/*!
 @brief Similar to -[CHBInterstitial initWithLocation:delegate], but including a mediation parameter.
 @discussion Use this initializer only if you are writing an adapter to use Chartboost with a mediation solution.
*/
- (instancetype)initWithLocation:(CBLocation)location mediation:(nullable CHBMediation *)mediation delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
 @brief Caches an ad using an OpenRTB bid response.
 @param bidResponse A bid response containing information about the ad to cache in OpenRTB format.
 @discussion Use this method if you want to cache an ad already obtained from a bidding solution.
 Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
@end
// MARK: - CHBRewarded Extensions
@interface CHBRewarded (MediationAPI)
/*!
 @brief Similar to -[CHBRewarded initWithLocation:delegate], but including a mediation parameter.
 @discussion Use this initializer only if you are writing an adapter to use Chartboost with a mediation solution.
*/
- (instancetype)initWithLocation:(CBLocation)location mediation:(nullable CHBMediation *)mediation delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
 @brief Caches an ad using an OpenRTB bid response.
 @param bidResponse A bid response containing information about the ad to cache in OpenRTB format.
 @discussion Use this method if you want to cache an ad already obtained from a bidding solution.
 Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
@end
NS_ASSUME_NONNULL_END
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
@@ -8,10 +8,14 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ChartboostDelegate.h"
#import "CHBInterstitial.h"
#import "CHBRewarded.h"
#import "CHBBanner.h"
@class CBInPlay;
FOUNDATION_EXPORT BOOL ChartboostInitialized(const char* function);
FOUNDATION_EXPORT BOOL ChartboostInitialized(const char* function) DEPRECATED_MSG_ATTRIBUTE("This function is deprecated and will be removed in a future version.");
@interface Chartboost : NSObject
#pragma mark - Main Chartboost API
/*!
 @abstract
@@ -21,16 +25,14 @@
 
 @param appSignature The Chartboost application signature for this application.
 
 @param delegate The delegate instance to receive Chartboost SDK callbacks.
 @param completion A completion block to be executed when the SDK finishes initializing.
 It takes a boolean parameter which indicates if the initialization succeeded or not.
 
 @discussion This method must be executed before any other Chartboost SDK methods can be used.
 Once executed this call will also controll session tracking and background tasks
 used by Chartboost.
 */
+ (void)startWithAppId:(NSString*)appId
          appSignature:(NSString*)appSignature
              delegate:(id<ChartboostDelegate>)delegate;
+ (void)startWithAppId:(NSString*)appId appSignature:(NSString*)appSignature completion:(void (^)(BOOL))completion;
/*!
 @abstract
@@ -48,201 +50,6 @@
 */
+ (void)setLoggingLevel:(CBLoggingLevel)loggingLevel;
/*!
 @abstract
 Check to see if any views are visible
 @return YES if there is any view visible
 @discussion This method can be used to check if any chartboost ad's are visible on the app.
 */
+ (BOOL)isAnyViewVisible;
/*!
 @abstract
 Determine if a locally cached interstitial exists for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @return YES if there a locally cached interstitial, and NO if not.
 @discussion A return value of YES here indicates that the corresponding
 showInterstitial:(CBLocation)location method will present without making
 additional Chartboost API server requests to fetch data to present.
 */
+ (BOOL)hasInterstitial:(CBLocation)location;
/*!
 @abstract
 Determine if a locally cached rewarded video exists for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @return YES if there a locally cached rewarded video, and NO if not.
 @discussion A return value of YES here indicates that the corresponding
 showRewardedVideo:(CBLocation)location method will present without making
 additional Chartboost API server requests to fetch data to present.
 */
+ (BOOL)hasRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Determine if a locally cached InPlay object exists for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @return YES if there a locally cached InPlay object, and NO if not.
 @discussion A return value of YES here indicates that the corresponding
 getInPlay:(CBLocation)location method will return an InPlay object without making
 additional Chartboost API server requests to fetch data to present.
 */
+ (BOOL)hasInPlay:(CBLocation)location;
/*!
 @abstract
 Cache an interstitial at the given CBLocation.
 @param location The location for the Chartboost impression type.
 @discussion This method will first check if there is a locally cached interstitial
 for the given CBLocation and, if found, will do nothing. If no locally cached data exists
 the method will attempt to fetch data from the Chartboost API server.
 */
+ (void)cacheInterstitial:(CBLocation)location;
/*!
 @abstract
 Present an interstitial for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @discussion This method will first check if there is a locally cached interstitial
 for the given CBLocation and, if found, will present using the locally cached data.
 If no locally cached data exists the method will attempt to fetch data from the
 Chartboost API server and present it.  If the Chartboost API server is unavailable
 or there is no eligible interstitial to present in the given CBLocation this method
 is a no-op.
 */
+ (void)showInterstitial:(CBLocation)location;
/*!
 @abstract
 Cache a rewarded video at the given CBLocation.
 @param location The location for the Chartboost impression type.
 @discussion This method will first check if there is a locally cached rewarded video
 for the given CBLocation and, if found, will do nothing. If no locally cached data exists
 the method will attempt to fetch data from the Chartboost API server.
 */
+ (void)cacheRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Present a rewarded video for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @discussion This method will first check if there is a locally cached rewarded video
 for the given CBLocation and, if found, will present it using the locally cached data.
 If no locally cached data exists the method will attempt to fetch data from the
 Chartboost API server and present it.  If the Chartboost API server is unavailable
 or there is no eligible rewarded video to present in the given CBLocation this method
 is a no-op.
 */
+ (void)showRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Cache a number of InPlay objects for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @discussion This method will first check if there is a locally cached InPlay object set
 for the given CBLocation and, if found, will do nothing. If no locally cached data exists
 the method will attempt to fetch data from the Chartboost API server.
 */
+ (void)cacheInPlay:(CBLocation)location;
/*!
 @abstract
 Return an InPlay object for the given CBLocation.
 @param location The location for the Chartboost impression type.
 @return CBInPlay object if one exists in the InPlay cache or nil if one is not yet available.
 @discussion This method will first check if there is a locally cached InPlay object
 for the given CBLocation and, if found, will return the object using the locally cached data.
 If no locally cached data exists the method will attempt to fetch data from the
 Chartboost API server.  If the Chartboost API server is unavailable
 or there is no eligible InPlay object to present in the given CBLocation this method
 is a no-op.
 */
+ (CBInPlay *)getInPlay:(CBLocation)location;
#pragma mark - Advanced Configuration & Use
/*!
 @abstract
 Set the Chartboost Delegate
 @param del The new Chartboost Delegate for the sharedChartboost instance
 @discussion This doesn't need to be called when calling startWithAppID, only later
 to switch the delegate object.
 */
+ (void)setDelegate:(id<ChartboostDelegate>)del;
/*!
 @abstract
 Confirm if an age gate passed or failed. When specified Chartboost will wait for
 this call before showing the IOS App Store.
 @param pass The result of successfully passing the age confirmation.
 @discussion If you have configured your Chartboost experience to use the age gate feature
 then this method must be executed after the user has confirmed their age.  The Chartboost SDK
 will halt until this is done.
 */
+ (void)didPassAgeGate:(BOOL)pass;
/*!
 @abstract
 Opens a "deep link" URL for a Chartboost Custom Scheme.
 @param url The URL to open.
 @param sourceApplication The application that originated the action.
 @return YES if Chartboost SDK is capable of handling the URL and does so, and NO if not.
 @discussion If you have configured a custom scheme and provided "deep link" URLs that the
 Chartboost SDK is capable of handling you should use this method in your ApplicationDelegate
 class methods that handle custom URL schemes.
 */
+ (BOOL)handleOpenURL:(NSURL *)url
    sourceApplication:(NSString *)sourceApplication;
/*!
 @abstract
 Opens a "deep link" URL for a Chartboost Custom Scheme.
 @param url The URL to open.
 @param sourceApplication The application that originated the action.
 @param annotation The provided annotation.
 @return YES if Chartboost SDK is capable of handling the URL and does so, and NO if not.
 @discussion If you have configured a custom scheme and provided "deep link" URLs that the
 Chartboost SDK is capable of handling you should use this method in your ApplicationDelegate
 class methods that handle custom URL schemes.
 */
+ (BOOL)handleOpenURL:(NSURL *)url
    sourceApplication:(NSString *)sourceApplication
           annotation:(id)annotation;
/*!
 @abstract
@@ -293,46 +100,6 @@
/*!
 @abstract
 Set a custom mediation library to append to the POST body of every request.
 example setMediation:CBMediationMoPub withLibraryVersion:@"3.8.0" adapterVersionn:@"2.0"
 @param library The constant for the name of the mediation library.
 @param libraryVersion The mediation library version sent as a string.
 @param adapterVersion The adapter version sent as a string.
 @discussion This is an internal method used by mediation partners to track their usage.
 */
+ (void)setMediation:(CBMediation)library withLibraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion;
/*!
 @abstract
 Decide if Chartboost SDK should show interstitials in the first session.
 @param shouldRequest YES if allowed to show interstitials in first session, NO otherwise.
 @discussion Set to control if Chartboost SDK can show interstitials in the first session.
 The session count is controlled via the startWithAppId:appSignature:delegate: method in the Chartboost
 class.
 Default is YES.
 */
+ (void)setShouldRequestInterstitialsInFirstSession:(BOOL)shouldRequest;
/*!
 @abstract
 Decide if Chartboost SDK should block for an age gate.
 @param shouldPause YES if Chartboost should pause for an age gate, NO otherwise.
 @discussion Set to control if Chartboost SDK should block for an age gate.
 Default is NO.
 */
+ (void)setShouldPauseClickForConfirmation:(BOOL)shouldPause;
/*!
 @abstract
 Decide if Chartboost SDKK will attempt to fetch videos from the Chartboost API servers.
 
 @param shouldPrefetch YES if Chartboost should prefetch video content, NO otherwise.
@@ -342,30 +109,6 @@
 Default is YES.
 */
+ (void)setShouldPrefetchVideoContent:(BOOL)shouldPrefetch;
/*!
 @abstract
 Set to enable and disable the auto cache feature (Enabled by default).
 @param shouldCache The param to enable or disable auto caching.
 @discussion If set to YES the Chartboost SDK will automatically attempt to cache an impression
 once one has been consumed via a "show" call.  If set to NO, it is the responsibility of the
 developer to manage the caching behavior of Chartboost impressions.
 */
+ (void)setAutoCacheAds:(BOOL)shouldCache;
/*!
 @abstract
 Get the current auto cache behavior (Enabled by default).
 @return YES if the auto cache is enabled, NO if it is not.
 @discussion If set to YES the Chartboost SDK will automatically attempt to cache an impression
 once one has been consumed via a "show" call.  If set to NO, it is the responsibility of the
 developer to manage the caching behavior of Chartboost impressions.
 */
+ (BOOL)getAutoCacheAds;
/*!
 @abstract
@@ -388,7 +131,7 @@
 @abstract
 Set to restrict Chartboost's ability to collect personal data from the device. See CBPIDataUseConsent declaration for details
 Note: This method should be called before starting the Chartboost SDK with startWithAppId:appSignature:delegate.
 @param consent: set the consent level
 @param consent set the consent level
 @discussion Default value is Unknown
 */
+ (void)setPIDataUseConsent:(CBPIDataUseConsent)consent;
@@ -401,14 +144,27 @@
#pragma mark - Deprecated
+ (void)restrictDataCollection:(BOOL)shouldRestrict __attribute__((deprecated("Use setPIDataUseConsent:(CBPIDataUseConsent)consent instead")));
+ (BOOL)hasMoreApps:(CBLocation)location  __attribute__((deprecated("This method is deprecated will always return false")));
+ (void)showMoreApps:(CBLocation)location __attribute__((deprecated("This method is deprecated and is a no-op")));
+ (void)showMoreApps:(UIViewController *)viewController
            location:(CBLocation)location  __attribute__((deprecated("This method is deprecated and is a no-op")));
+ (void)setShouldDisplayLoadingViewForMoreApps:(BOOL)shouldDisplay __attribute__((deprecated("This method is deprecated and is a no-op")));
+ (void)cacheMoreApps:(CBLocation)location __attribute__((deprecated("This method is deprecated and is a no-op")));
+ (void)setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior __attribute__((deprecated("This method is deprecated and is a no-op")));
+ (void)setMediation:(CBMediation)library withVersion:(NSString*)libraryVersion DEPRECATED_MSG_ATTRIBUTE("Please use setMediation:withLibraryVersion:adapterVersion: instead.");
+ (void)cacheInPlay:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("This is a deprecated no-op method and will be removed in a future version.");
+ (BOOL)hasInPlay:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("This is a deprecated no-op method and will be removed in a future version.");
+ (CBInPlay *)getInPlay:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("This is a deprecated no-op method and will be removed in a future version.");
+ (void)startWithAppId:(NSString*)appId appSignature:(NSString*)appSignature delegate:(id<ChartboostDelegate>)delegate DEPRECATED_MSG_ATTRIBUTE("Please use +[Chartboost startWithAppId:appSignature:completion:] instead.");
+ (BOOL)isAnyViewVisible DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (BOOL)hasInterstitial:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBInterstitial isCached] instead.");
+ (BOOL)hasRewardedVideo:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBRewarded isCached] instead.");
+ (void)cacheInterstitial:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBInterstitial cache] instead.");
+ (void)showInterstitial:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBInterstitial showFromViewController:] instead.");
+ (void)cacheRewardedVideo:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBRewarded cache] instead.");
+ (void)showRewardedVideo:(CBLocation)location DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBRewarded showFromViewController:] instead.");
+ (void)setDelegate:(id<ChartboostDelegate>)del DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (void)didPassAgeGate:(BOOL)pass DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBAdDelegate shouldConfirmClick:confirmationHandler:] instead.");
+ (BOOL)handleOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (BOOL)handleOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (void)setShouldRequestInterstitialsInFirstSession:(BOOL)shouldRequest DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (void)setShouldPauseClickForConfirmation:(BOOL)shouldPause DEPRECATED_MSG_ATTRIBUTE("Please use -[CHBAdDelegate shouldConfirmClick:confirmationHandler:] instead.");
+ (void)setAutoCacheAds:(BOOL)shouldCache DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (BOOL)getAutoCacheAds DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
+ (void)setMediation:(CBMediation)library withLibraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion DEPRECATED_MSG_ATTRIBUTE("Please use CHBMediation as specified in Chartboost+Mediation.h instead.");
@end
frameworks/Chartboost.framework/Versions/A/Headers/ChartboostDelegate.h
@@ -89,7 +89,11 @@
    /*! AerServ */
    CBMediationAerServ,
    /*! Helium */
    CBMediationHelium
    CBMediationHelium,
    /*! Fairbid */
    CBMediationFairbid,
    /*! AppLovin MAX */
    CBMediationMAX
};
@@ -132,7 +136,11 @@
    /*! Network is unavailable while attempting to show. */
    CBLoadErrorInternetUnavailableAtShow = 25,
    /*! Error trying to present the ad. */
    CBLoadErrorAdPresentationFailure = 33
    CBLoadErrorAdPresentationFailure = 33,
    /*! No cached ad ready to be shown. */
    CBLoadErrorNoCachedAd = 34,
    /*! Publisher disabled. */
    CBLoadErrorPublisherDisabled = 35
};
/*!
@@ -183,24 +191,6 @@
  /*! User consents (Behavioral and Contextual Ads). */
  YesBehavioral = 1
};
/*!
 @typedef CBBannerSize
 @abstract
 Defines standard sizes used to initialize Banner objects.
 @discussion Standard sizes used to describe default Banner bounds.
 */
typedef CGSize const CBBannerSize;
/*! "Banner" - Standard banner size on phones. */
FOUNDATION_EXPORT CBBannerSize const CBBannerSizeStandard;
/*! "Medium Rect" - Medium banner size on phones. */
FOUNDATION_EXPORT CBBannerSize const CBBannerSizeMedium;
/*! "Tablet" - Leaderboard banner size on tablets. */
FOUNDATION_EXPORT CBBannerSize const CBBannerSizeLeaderboard;
/*!
@@ -265,6 +255,7 @@
 
 All of the delegate methods are optional.
 */
DEPRECATED_MSG_ATTRIBUTE("This protocol is deprecated and will be removed in a future version. Please use CHBInterstitial, CHBRewarded, CHBBanner and their corresponding delegate protocols instead.")
@protocol ChartboostDelegate <NSObject>
@optional
frameworks/WACbImpl.framework/Headers/WACbImpl.h
@@ -16,4 +16,4 @@
// In this header, you should import all the public headers of your framework using statements like #import <WACbImpl/PublicHeader.h>
//time:2019/06/20 09:17 ver:3.8.2
//time:2020/05/20 09:17 ver:3.8.4
frameworks/WACbImpl.framework/Info.plist
Binary files differ
frameworks/WACbImpl.framework/WACbImpl
Binary files differ