hank
2018-04-18 e32277d74f1a8bc70a975e986d75799863c4ecec
添加V3.6.7
13 files modified
1 files added
2 files deleted
1583 ■■■■■ changed files
WACbImpl.podspec 7 ●●●●● 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/CBAnalytics.h 43 ●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CBInPlay.h 4 ●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CBMoreAppsBadge.h 32 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/CBMoreAppsButton.h 44 ●●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h 888 ●●●● patch | view | raw | blame | history
frameworks/Chartboost.framework/Versions/A/Headers/ChartboostDelegate.h 553 ●●●●● 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
frameworks/WACbImpl.framework/_CodeSignature/CodeDirectory patch | view | raw | blame | history
frameworks/WACbImpl.framework/_CodeSignature/CodeRequirements-1 patch | view | raw | blame | history
frameworks/WACbImpl.framework/_CodeSignature/CodeResources 8 ●●●● patch | view | raw | blame | history
frameworks/WACbImpl.framework/_CodeSignature/CodeSignature patch | view | raw | blame | history
WACbImpl.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WACbImpl'
s.version = '3.6.5'
s.version = '3.6.7'
s.summary = 'WACbImpl framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
@@ -19,7 +19,8 @@
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', '~> 3.6.4'   #此处添加私有库依赖
s.dependency 'WASdkImpl', '~> 3.6.4'
s.dependency 'WASdkIntf', '~> 3.6.7'   #此处添加私有库依赖
s.dependency 'WASdkImpl', '~> 3.6.7'
end
config/wa_sdk_impl_config_chartboost.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <version val="CB3.6.4"/>
    <version val="CB3.6.7"/>
    <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/CBAnalytics.h
@@ -1,18 +1,19 @@
/*
 * CBAnalytics.h
 * Chartboost
 * 6.6.3
 *
 * Copyright 2011 Chartboost. All rights reserved.
 */
//
//  CBAnalytics.h
//  Chartboost
//
//  Copyright 2018 Chartboost. All rights reserved.
//
//
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
/*!
 @typedef NS_ENUM (NSUInteger, CBLevelType)
 
 @abstract
 Used with trackLevelInfo calls to describe meta information about the level value as it
 Used with trackLevelInfo calls to describe meta information about the level value as it
 pertains to the game's context.
 */
typedef NS_ENUM(NSUInteger, CBLevelType) {
@@ -42,7 +43,7 @@
/*!
 @abstract
 Track an In App Purchase Event.
 @param receipt The transaction receipt used to validate the purchase.
 
 @param productTitle The localized title of the product.
@@ -54,10 +55,10 @@
 @param productCurrency The localized currency of the product.
 
 @param productIdentifier The IOS identifier for the product.
 @discussion Tracks In App Purchases for later use with user segmentation
 and targeting.
*/
 */
+ (void)trackInAppPurchaseEvent:(NSData *)receipt
                   productTitle:(NSString *)productTitle
             productDescription:(NSString *)productDescription
@@ -68,7 +69,7 @@
/*!
 @abstract
 Track an In App Purchase Event.
 @param receiptString The base64 encoded receipt string used to validate the purchase.
 
 @param productTitle The localized title of the product.
@@ -80,16 +81,16 @@
 @param productCurrency The localized currency of the product.
 
 @param productIdentifier The IOS identifier for the product.
 @discussion Tracks In App Purchases for later use with user segmentation
 and targeting.
*/
 */
+ (void)trackInAppPurchaseEventWithString:(NSString *)receiptString
                   productTitle:(NSString *)productTitle
             productDescription:(NSString *)productDescription
                   productPrice:(NSDecimalNumber *)productPrice
                productCurrency:(NSString *)productCurrency
              productIdentifier:(NSString *)productIdentifier;
                             productTitle:(NSString *)productTitle
                       productDescription:(NSString *)productDescription
                             productPrice:(NSDecimalNumber *)productPrice
                          productCurrency:(NSString *)productCurrency
                        productIdentifier:(NSString *)productIdentifier;
/*!
 @abstract
 Track an In App Purchase Event.
@@ -107,7 +108,7 @@
/*!
 @abstract
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 
 @param eventLabel A string that disambiguates the eventField. Use it to provides a human readable string to answer the question - What are we tracking ?
 
@@ -130,7 +131,7 @@
/*!
 @abstract
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 
 @param eventLabel A string that disambiguates the eventField. Use it to provides a human readable string to answer the question - What are we tracking ?
 
frameworks/Chartboost.framework/Versions/A/Headers/CBInPlay.h
@@ -1,9 +1,9 @@
/*
 * CBInPlay.h
 * Chartboost
 * 6.6.3
 * 7.1.1
 *
 * Copyright 2011 Chartboost. All rights reserved.
 * Copyright 2018 Chartboost. All rights reserved.
 */
#import "Chartboost.h"
frameworks/Chartboost.framework/Versions/A/Headers/CBMoreAppsBadge.h
File was deleted
frameworks/Chartboost.framework/Versions/A/Headers/CBMoreAppsButton.h
File was deleted
frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
@@ -1,241 +1,52 @@
/*
 * Chartboost.h
 * Chartboost
 * 6.6.3
 *
 * Copyright 2011 Chartboost. All rights reserved.
 */
//
//  Chartboost.h
//  Chartboost
//
//  Copyright 2018 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/*!
 @typedef NS_ENUM (NSUInteger, CBFramework)
 @abstract
 Used with setFramework:(CBFramework)framework calls to set suffix for
 wrapper libraries like Unity or Corona.
 */
typedef NS_ENUM(NSUInteger, CBFramework) {
    /*! Unity. */
    CBFrameworkUnity,
    /*! Corona. */
    CBFrameworkCorona,
    /*! Adobe AIR. */
    CBFrameworkAIR,
    /*! GameSalad. */
    CBFrameworkGameSalad,
    /*! Cordova. */
    CBFrameworkCordova,
    /*! CocoonJS. */
    CBFrameworkCocoonJS,
    /*! Cocos2d-x. */
    CBFrameworkCocos2dx,
    /*! Prime31Unreal. */
    CBFrameworkPrime31Unreal,
    /*! Weeby. */
    CBFrameworkWeeby,
    /*! Unknown. Other */
    CBFrameworkOther
};
/*!
 @typedef NS_ENUM (NSUInteger, CBMediation)
 @abstract
 Used with setMediation:(CBMediation)library calls to set mediation library name
 partners. If you don't see your library here, contact support.
 */
typedef NS_ENUM(NSUInteger, CBMediation) {
    /*! Unknown. Other */
    CBMediationOther,
    /*! AdMarvel */
    CBMediationAdMarvel,
    /*! Fuse */
    CBMediationFuse,
    /*! Fyber */
    CBMediationFyber,
    /*! HeyZap */
    CBMediationHeyZap,
    /*! MoPub */
    CBMediationMoPub,
    /*! Supersonic */
    CBMediationSupersonic,
    /*! AdMob */
    CBMediationAdMob,
    /*! HyprMX */
    CBMediationHyprMX,
    /*! AerServ */
    CBMediationAerServ
};
/*!
 @typedef NS_ENUM (NSUInteger, CBLoadError)
 @abstract
 Returned to ChartboostDelegate methods to notify of Chartboost SDK errors.
 */
typedef NS_ENUM(NSUInteger, CBLoadError) {
    /*! Unknown internal error. */
    CBLoadErrorInternal = 0,
    /*! Network is currently unavailable. */
    CBLoadErrorInternetUnavailable = 1,
    /*! Too many requests are pending for that location.  */
    CBLoadErrorTooManyConnections = 2,
    /*! Interstitial loaded with wrong orientation. */
    CBLoadErrorWrongOrientation = 3,
    /*! Interstitial disabled, first session. */
    CBLoadErrorFirstSessionInterstitialsDisabled = 4,
    /*! Network request failed. */
    CBLoadErrorNetworkFailure = 5,
    /*!  No ad received. */
    CBLoadErrorNoAdFound = 6,
    /*! Session not started. */
    CBLoadErrorSessionNotStarted = 7,
    /*! There is an impression already visible.*/
    CBLoadErrorImpressionAlreadyVisible = 8,
    /*! User manually cancelled the impression. */
    CBLoadErrorUserCancellation = 10,
    /*! No location detected. */
    CBLoadErrorNoLocationFound = 11,
    /*! Error downloading asset. */
    CBLoadErrorAssetDownloadFailure = 16,
    /*! Video Prefetching is not finished */
    CBLoadErrorPrefetchingIncomplete = 21,
    /*! Error Originating from the JS side of a Web View */
    CBLoadErrorWebViewScriptError = 22
};
/*!
 @typedef NS_ENUM (NSUInteger, CBClickError)
 @abstract
 Returned to ChartboostDelegate methods to notify of Chartboost SDK errors.
 */
typedef NS_ENUM(NSUInteger, CBClickError) {
    /*! Invalid URI. */
    CBClickErrorUriInvalid,
    /*! The device does not know how to open the protocol of the URI  */
    CBClickErrorUriUnrecognized,
    /*! User failed to pass the age gate. */
    CBClickErrorAgeGateFailure,
    /*! Unknown internal error */
    CBClickErrorInternal,
};
/*!
 @typedef NS_ENUM (NSUInteger, CBStatusBarBehavior)
 @abstract
 Used with setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior calls to set how fullscreen ads should
 behave with regards to the status bar.
 */
typedef NS_ENUM(NSUInteger, CBStatusBarBehavior) {
    /*! Ignore status bar altogether; fullscreen ads will use the space of the status bar. */
    CBStatusBarBehaviorIgnore,
    /*! Respect the status bar partially; fullscreen ads will use the space of the status bar but any user interactive buttons will not. */
    CBStatusBarBehaviorRespectButtons,
    /*! Respect the status bar fully; fullscreen ads will not use the status bar space. */
    CBStatusBarBehaviorRespect
};
/*!
 @typedef CBLocation
 @abstract
 Defines standard locations to describe where Chartboost SDK features appear in game.
 @discussion Standard locations used to describe where Chartboost features show up in your game
 For best performance, it is highly recommended to use standard locations.
 Benefits include:
 - Higher eCPMs.
 - Control of ad targeting and frequency.
 - Better reporting.
 */
typedef NSString * const CBLocation;
/*! "Startup" - Initial startup of game. */
extern CBLocation const CBLocationStartup;
/*! "Home Screen" - Home screen the player first sees. */
extern CBLocation const CBLocationHomeScreen;
/*! "Main Menu" - Menu that provides game options. */
extern CBLocation const CBLocationMainMenu;
/*! "Game Screen" - Game screen where all the magic happens. */
extern CBLocation const CBLocationGameScreen;
/*! "Achievements" - Screen with list of achievements in the game. */
extern CBLocation const CBLocationAchievements;
/*! "Quests" - Quest, missions or goals screen describing things for a player to do. */
extern CBLocation const CBLocationQuests;
/*!  "Pause" - Pause screen. */
extern CBLocation const CBLocationPause;
/*! "Level Start" - Start of the level. */
extern CBLocation const CBLocationLevelStart;
/*! "Level Complete" - Completion of the level */
extern CBLocation const CBLocationLevelComplete;
/*! "Turn Complete" - Finishing a turn in a game. */
extern CBLocation const CBLocationTurnComplete;
/*! "IAP Store" - The store where the player pays real money for currency or items. */
extern CBLocation const CBLocationIAPStore;
/*! "Item Store" - The store where a player buys virtual goods. */
extern CBLocation const CBLocationItemStore;
/*! "Game Over" - The game over screen after a player is finished playing. */
extern CBLocation const CBLocationGameOver;
/*! "Leaderboard" - List of leaders in the game. */
extern CBLocation const CBLocationLeaderBoard;
/*! "Settings" - Screen where player can change settings such as sound. */
extern CBLocation const CBLocationSettings;
/*! "Quit" - Screen displayed right before the player exits a game. */
extern CBLocation const CBLocationQuit;
/*! "Default" - Supports legacy applications that only have one "Default" location */
extern CBLocation const CBLocationDefault;
@protocol ChartboostDelegate;
/*!
 @class Chartboost
 @abstract
 Provide methods to display and control Chartboost native advertising types.
 @discussion For more information on integrating and using the Chartboost SDK
 please visit our help site documentation at https://help.chartboost.com
 */
#import "ChartboostDelegate.h"
@class CBInPlay;
@interface Chartboost : NSObject
#pragma mark - Main Chartboost API
/*!
 @abstract
 Start Chartboost with required appId, appSignature and delegate.
 @param appId The Chartboost application ID for this application.
 @param appSignature The Chartboost application signature for this application.
 @param delegate The delegate instance to receive Chartboost SDK callbacks.
 @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;
/*!
 @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
 Returns the version of the Chartboost SDK.
 */
+ (NSString*)getSDKVersion;
/*!
 @abstract
 Set the logging level
 @param loggingLevel The minimum level that's going to be logged
 @discussion Logging by default is off.
 */
+ (void)setLoggingLevel:(CBLoggingLevel)loggingLevel;
/*!
 @abstract
@@ -260,7 +71,44 @@
 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.
@@ -278,63 +126,17 @@
/*!
 @abstract
 Determine if a locally cached "more applications" exists for the given CBLocation.
 Cache a rewarded video at the given CBLocation.
 
 @param location The location for the Chartboost impression type.
 
 @return YES if there a locally cached "more applications", and NO if not.
 @discussion A return value of YES here indicates that the corresponding
 showMoreApps:(CBLocation)location method will present without making
 additional server requests to fetch data to present.
 @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.
 */
+ (BOOL)hasMoreApps:(CBLocation)location;
+ (void)cacheRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Present an "more applications" 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 "more applications"
 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 "more applications" to present in the given CBLocation this method
 is a no-op.
 */
+ (void)showMoreApps:(CBLocation)location;
/*!
 @abstract
 Present an "more applications" for the given CBLocation and inside the given UIViewController.
 @param viewController The UIViewController to display the "more applications" UI within.
 @param location The location for the Chartboost impression type.
 @discussion This method uses the same implementation logic as showMoreApps:(CBLocation)location
 for loading the "more applications" data, but adds an optional viewController parameter.
 The viewController object allows the "more applications" page to be presented modally in a specified
 view hierarchy. If the Chartboost API server is unavailable or there is no eligible "more applications"
 to present in the given CBLocation this method is a no-op.
 */
+ (void)showMoreApps:(UIViewController *)viewController
            location:(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
@@ -350,12 +152,51 @@
 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;
#pragma mark - Advanced Configuration & Use
/*!
 @abstract
 Confirm if an age gate passed or failed. When specified Chartboost will wait for
 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.
@@ -428,42 +269,19 @@
/*!
 @abstract
 Set a custom version to append to the POST body of every request. This is useful for analytics and provides chartboost with important information.
 example setFramework:Unity withVersion:4.6, setFrameworkVersion:5.2.1
 @param frameworkVersion The version sent as a string.
 @discussion This is an internal method used via Chartboost's Unity and Corona SDKs
 to track their usage.
 */
+ (void)setFrameworkVersion:(NSString*)frameworkVersion __attribute__((deprecated("This method is deprecated, please use  + (void)setChartboostWrapperVersion:(NSString*)chartboostWrapperVersion instead")));
/*!
 @abstract
 Set a custom version to append to the POST body of every request. This is useful for analytics and provides chartboost with important information.
 example: [Chartboost setChartboostWrapperVersion:@"6.4.6"];
 @param chartboostWrapperVersion The version sent as a string.
 @discussion This is an internal method used via Chartboost's Unity and Corona SDKs
 to track their usage.
 */
+ (void)setChartboostWrapperVersion:(NSString*)chartboostWrapperVersion;
/*!
 @abstract
 Set a custom framework suffix to append to the POST headers field.
 @param framework The suffx to send with all Chartboost API server requests.
 @discussion This is an internal method used via Chartboost's Unity and Corona SDKs
 to track their usage.
 */
+ (void)setFramework:(CBFramework)framework __attribute__((deprecated("This method is deprecated, please use  + (void)setFramework:(CBFramework)framework withVersion:(NSString *)version; instead")));
/*!
 @abstract
 Set a custom framework suffix to append to the POST headers field.
example setFramework:Unity withVersion:4.6, setFrameworkVersion:5.2.1
 example setFramework:Unity withVersion:4.6, setFrameworkVersion:5.2.1
 
 @param framework The suffix to send with all Chartbooost API server requets.
 @param version The platform version used for analytics. Example Unity should set Application.unityVersion
@@ -511,19 +329,6 @@
 */
+ (void)setShouldPauseClickForConfirmation:(BOOL)shouldPause;
/*!
 @abstract
 Decide if Chartboost SDK should show a loading view while preparing to display the
 "more applications" UI.
 @param shouldDisplay YES if Chartboost should display a loading view, NO otherwise.
 @discussion Set to control if Chartboost SDK should show a loading view while
 preparing to display the "more applications" UI.
 Default is NO.
 */
+ (void)setShouldDisplayLoadingViewForMoreApps:(BOOL)shouldDisplay;
/*!
 @abstract
@@ -536,52 +341,6 @@
 Default is YES.
 */
+ (void)setShouldPrefetchVideoContent:(BOOL)shouldPrefetch;
/*!
 @abstract
 Returns the version of the Chartboost SDK.
 */
+ (NSString*)getSDKVersion;
#pragma mark - Advanced Caching
/*!
 @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
 Cache an "more applications" 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 "more applications"
 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)cacheMoreApps:(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
@@ -620,417 +379,20 @@
/*!
 @abstract
 @abstract
 returns YES if auto IAP tracking is enabled, NO if it isn't.
 @discussion Call to check if automatic tracking of in-app purchases is enabled.
 @discussion Call to check if automatic tracking of in-app purchases is enabled.
 The setting is controlled by the server.
 */
+ (BOOL)getAutoIAPTracking;
#pragma mark - Deprecated
+ (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")));
@end
/*!
 @protocol ChartboostDelegate
 @abstract
 Provide methods and callbacks to receive notifications of when the Chartboost SDK
 has taken specific actions or to more finely control the Chartboost SDK.
 @discussion For more information on integrating and using the Chartboost SDK
 please visit our help site documentation at https://help.chartboost.com
 All of the delegate methods are optional.
 */
@protocol ChartboostDelegate <NSObject>
@optional
/*!
 @abstract
 Called after the SDK has been successfully initialized
 @param status The result of the initialization. YES if successful. NO if failed.
 @discussion Implement to be notified of when the initialization process has finished.
 */
- (void)didInitialize:(BOOL)status;
#pragma mark - Interstitial Delegate
/*!
 @abstract
 Called before requesting an interstitial via the Chartboost API server.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should fetch data from
 the Chartboost API servers for the given CBLocation.  This is evaluated
 if the showInterstitial:(CBLocation) or cacheInterstitial:(CBLocation)location
 are called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op.
 Default return is YES.
 */
- (BOOL)shouldRequestInterstitial:(CBLocation)location;
/*!
 @abstract
 Called before an interstitial will be displayed on the screen.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should display an interstitial
 for the given CBLocation.  This is evaluated if the showInterstitial:(CBLocation)
 is called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op and nothing is displayed.
 Default return is YES.
 */
- (BOOL)shouldDisplayInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has
 been displayed on the screen for a given CBLocation.
 */
- (void)didDisplayInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an interstitial has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadInterstitial:(CBLocation)location
                        withError:(CBLoadError)error;
/*!
 @abstract
 Called after a click is registered, but the user is not fowrwarded to the IOS App Store.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when a click is registered, but the user is not fowrwarded
 to the IOS App Store for a given CBLocation.
 */
- (void)didFailToRecordClick:(CBLocation)location
                   withError:(CBClickError)error;
/*!
 @abstract
 Called after an interstitial has been dismissed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been dismissed for a given CBLocation.
 "Dismissal" is defined as any action that removed the interstitial UI such as a click or close.
 */
- (void)didDismissInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been closed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been closed for a given CBLocation.
 "Closed" is defined as clicking the close interface for the interstitial.
 */
- (void)didCloseInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been clicked.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been click for a given CBLocation.
 "Clicked" is defined as clicking the creative interface for the interstitial.
 */
- (void)didClickInterstitial:(CBLocation)location;
/*!
 @abstract
 Called before an "more applications" will be displayed on the screen.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should display an "more applications"
 for the given CBLocation.  This is evaluated if the showMoreApps:(CBLocation)
 is called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op and nothing is displayed.
 Default return is YES.
 */
- (BOOL)shouldDisplayMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an "more applications" has
 been displayed on the screen for a given CBLocation.
 */
- (void)didDisplayMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an "more applications" has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has been dismissed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an "more applications" has been dismissed for a given CBLocation.
 "Dismissal" is defined as any action that removed the "more applications" UI such as a click or close.
 */
- (void)didDismissMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has been closed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an "more applications" has been closed for a given CBLocation.
 "Closed" is defined as clicking the close interface for the "more applications".
 */
- (void)didCloseMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has been clicked.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an "more applications" has been clicked for a given CBLocation.
 "Clicked" is defined as clicking the creative interface for the "more applications".
 */
- (void)didClickMoreApps:(CBLocation)location;
/*!
 @abstract
 Called after an "more applications" has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an "more applications" has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadMoreApps:(CBLocation)location
                    withError:(CBLoadError)error;
#pragma mark - Rewarded Video Delegate
/*!
 @abstract
 Called before a rewarded video will be displayed on the screen.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should display a rewarded video
 for the given CBLocation.  This is evaluated if the showRewardedVideo:(CBLocation)
 is called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op and nothing is displayed.
 Default return is YES.
 */
- (BOOL)shouldDisplayRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has
 been displayed on the screen for a given CBLocation.
 */
- (void)didDisplayRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an rewarded video has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadRewardedVideo:(CBLocation)location
                         withError:(CBLoadError)error;
/*!
 @abstract
 Called after a rewarded video has been dismissed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been dismissed for a given CBLocation.
 "Dismissal" is defined as any action that removed the rewarded video UI such as a click or close.
 */
- (void)didDismissRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been closed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been closed for a given CBLocation.
 "Closed" is defined as clicking the close interface for the rewarded video.
 */
- (void)didCloseRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been clicked.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been click for a given CBLocation.
 "Clicked" is defined as clicking the creative interface for the rewarded video.
 */
- (void)didClickRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been viewed completely and user is eligible for reward.
 @param reward The reward for watching the video.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been viewed completely and user is eligible for reward.
 */
- (void)didCompleteRewardedVideo:(CBLocation)location
                      withReward:(int)reward;
#pragma mark - InPlay Delegate
/*!
 @abstract
 Called after an InPlay object has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an InPlay object has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheInPlay:(CBLocation)location;
/*!
 @abstract
 Called after a InPlay has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an InPlay has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadInPlay:(CBLocation)location
                  withError:(CBLoadError)error;
#pragma mark - General Delegate
/*!
 @abstract
 Called before a video has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a video will
 be displayed on the screen for a given CBLocation.  You can then do things like mute
 effects and sounds.
 */
- (void)willDisplayVideo:(CBLocation)location;
/*!
 @abstract
 Called after the App Store sheet is dismissed, when displaying the embedded app sheet.
 @discussion Implement to be notified of when the App Store sheet is dismissed.
 */
- (void)didCompleteAppStoreSheetFlow;
/*!
 @abstract
 Called if Chartboost SDK pauses click actions awaiting confirmation from the user.
 @discussion Use this method to display any gating you would like to prompt the user for input.
 Once confirmed call didPassAgeGate:(BOOL)pass to continue execution.
 */
- (void)didPauseClickForConfirmation;
@end
frameworks/Chartboost.framework/Versions/A/Headers/ChartboostDelegate.h
New file
@@ -0,0 +1,553 @@
//
//  ChartboostDelegate.h
//  Chartboost
//
//  Copyright 2018 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
@class UIView;
/*!
 @typedef NS_ENUM (NSUInteger, CBLogLevel)
 @abstract
 Set logging level. Default is OFF
 */
typedef NS_ENUM(NSUInteger, CBLoggingLevel) {
    /*! Logging Off. */
    CBLoggingLevelOff,
    /*! Verbose. */
    CBLoggingLevelVerbose,
    /*! Info. */
    CBLoggingLevelInfo,
    /*! Warning. */
    CBLoggingLevelWarning,
    /*! Error. */
    CBLoggingLevelError,
};
/*!
 @typedef NS_ENUM (NSUInteger, CBFramework)
 @abstract
 Used with setFramework:(CBFramework)framework calls to set suffix for
 wrapper libraries like Unity or Corona.
 */
typedef NS_ENUM(NSUInteger, CBFramework) {
    /*! Unity. */
    CBFrameworkUnity,
    /*! Corona. */
    CBFrameworkCorona,
    /*! Adobe AIR. */
    CBFrameworkAIR,
    /*! GameSalad. */
    CBFrameworkGameSalad,
    /*! Cordova. */
    CBFrameworkCordova,
    /*! CocoonJS. */
    CBFrameworkCocoonJS,
    /*! Cocos2d-x. */
    CBFrameworkCocos2dx,
    /*! Prime31Unreal. */
    CBFrameworkPrime31Unreal,
    /*! Weeby. */
    CBFrameworkWeeby,
    /*! Unknown. Other */
    CBFrameworkOther
};
/*!
 @typedef NS_ENUM (NSUInteger, CBMediation)
 @abstract
 Used with setMediation:(CBMediation)library calls to set mediation library name
 partners. If you don't see your library here, contact support.
 */
typedef NS_ENUM(NSUInteger, CBMediation) {
    /*! Unknown. Other */
    CBMediationOther,
    /*! AdMarvel */
    CBMediationAdMarvel,
    /*! Fuse */
    CBMediationFuse,
    /*! Fyber */
    CBMediationFyber,
    /*! HeyZap */
    CBMediationHeyZap,
    /*! MoPub */
    CBMediationMoPub,
    /*! Supersonic */
    CBMediationSupersonic,
    /*! AdMob */
    CBMediationAdMob,
    /*! HyprMX */
    CBMediationHyprMX,
    /*! AerServ */
    CBMediationAerServ
};
/*!
 @typedef NS_ENUM (NSUInteger, CBLoadError)
 @abstract
 Returned to ChartboostDelegate methods to notify of Chartboost SDK errors.
 */
typedef NS_ENUM(NSUInteger, CBLoadError) {
    /*! Unknown internal error. */
    CBLoadErrorInternal = 0,
    /*! Network is currently unavailable. */
    CBLoadErrorInternetUnavailable = 1,
    /*! Too many requests are pending for that location.  */
    CBLoadErrorTooManyConnections = 2,
    /*! Interstitial loaded with wrong orientation. */
    CBLoadErrorWrongOrientation = 3,
    /*! Interstitial disabled, first session. */
    CBLoadErrorFirstSessionInterstitialsDisabled = 4,
    /*! Network request failed. */
    CBLoadErrorNetworkFailure = 5,
    /*!  No ad received. */
    CBLoadErrorNoAdFound = 6,
    /*! Session not started. */
    CBLoadErrorSessionNotStarted = 7,
    /*! There is an impression already visible.*/
    CBLoadErrorImpressionAlreadyVisible = 8,
    /*! User manually cancelled the impression. */
    CBLoadErrorUserCancellation = 10,
    /*! No location detected. */
    CBLoadErrorNoLocationFound = 11,
    /*! Error downloading asset. */
    CBLoadErrorAssetDownloadFailure = 16,
    /*! Video Prefetching is not finished */
    CBLoadErrorPrefetchingIncomplete = 21,
    /*! Error Originating from the JS side of a Web View */
    CBLoadErrorWebViewScriptError = 22,
    /*! Network is unavailable while attempting to show. */
    CBLoadErrorInternetUnavailableAtShow = 25
};
/*!
 @typedef NS_ENUM (NSUInteger, CBClickError)
 @abstract
 Returned to ChartboostDelegate methods to notify of Chartboost SDK errors.
 */
typedef NS_ENUM(NSUInteger, CBClickError) {
    /*! Invalid URI. */
    CBClickErrorUriInvalid,
    /*! The device does not know how to open the protocol of the URI  */
    CBClickErrorUriUnrecognized,
    /*! User failed to pass the age gate. */
    CBClickErrorAgeGateFailure,
    /*! Unknown internal error */
    CBClickErrorInternal,
};
/*!
 @typedef NS_ENUM (NSUInteger, CBStatusBarBehavior)
 @abstract
 Used with setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior calls to set how fullscreen ads should
 behave with regards to the status bar.
 */
typedef NS_ENUM(NSUInteger, CBStatusBarBehavior) {
    /*! Ignore status bar altogether; fullscreen ads will use the space of the status bar. */
    CBStatusBarBehaviorIgnore,
    /*! Respect the status bar partially; fullscreen ads will use the space of the status bar but any user interactive buttons will not. */
    CBStatusBarBehaviorRespectButtons,
    /*! Respect the status bar fully; fullscreen ads will not use the status bar space. */
    CBStatusBarBehaviorRespect
};
/*!
 @typedef CBLocation
 @abstract
 Defines standard locations to describe where Chartboost SDK features appear in game.
 @discussion Standard locations used to describe where Chartboost features show up in your game
 For best performance, it is highly recommended to use standard locations.
 Benefits include:
 - Higher eCPMs.
 - Control of ad targeting and frequency.
 - Better reporting.
 */
typedef NSString * const CBLocation;
/*! "Startup" - Initial startup of game. */
FOUNDATION_EXPORT CBLocation const CBLocationStartup;
/*! "Home Screen" - Home screen the player first sees. */
FOUNDATION_EXPORT CBLocation const CBLocationHomeScreen;
/*! "Main Menu" - Menu that provides game options. */
FOUNDATION_EXPORT CBLocation const CBLocationMainMenu;
/*! "Game Screen" - Game screen where all the magic happens. */
FOUNDATION_EXPORT CBLocation const CBLocationGameScreen;
/*! "Achievements" - Screen with list of achievements in the game. */
FOUNDATION_EXPORT CBLocation const CBLocationAchievements;
/*! "Quests" - Quest, missions or goals screen describing things for a player to do. */
FOUNDATION_EXPORT CBLocation const CBLocationQuests;
/*!  "Pause" - Pause screen. */
FOUNDATION_EXPORT CBLocation const CBLocationPause;
/*! "Level Start" - Start of the level. */
FOUNDATION_EXPORT CBLocation const CBLocationLevelStart;
/*! "Level Complete" - Completion of the level */
FOUNDATION_EXPORT CBLocation const CBLocationLevelComplete;
/*! "Turn Complete" - Finishing a turn in a game. */
FOUNDATION_EXPORT CBLocation const CBLocationTurnComplete;
/*! "IAP Store" - The store where the player pays real money for currency or items. */
FOUNDATION_EXPORT CBLocation const CBLocationIAPStore;
/*! "Item Store" - The store where a player buys virtual goods. */
FOUNDATION_EXPORT CBLocation const CBLocationItemStore;
/*! "Game Over" - The game over screen after a player is finished playing. */
FOUNDATION_EXPORT CBLocation const CBLocationGameOver;
/*! "Leaderboard" - List of leaders in the game. */
FOUNDATION_EXPORT CBLocation const CBLocationLeaderBoard;
/*! "Settings" - Screen where player can change settings such as sound. */
FOUNDATION_EXPORT CBLocation const CBLocationSettings;
/*! "Quit" - Screen displayed right before the player exits a game. */
FOUNDATION_EXPORT CBLocation const CBLocationQuit;
/*! "Default" - Supports legacy applications that only have one "Default" location */
FOUNDATION_EXPORT CBLocation const CBLocationDefault;
/*!
 @protocol ChartboostDelegate
 @abstract
 Provide methods and callbacks to receive notifications of when the Chartboost SDK
 has taken specific actions or to more finely control the Chartboost SDK.
 @discussion For more information on integrating and using the Chartboost SDK
 please visit our help site documentation at https://help.chartboost.com
 All of the delegate methods are optional.
 */
@protocol ChartboostDelegate <NSObject>
@optional
/*!
 @abstract
 Called by the SDK to show customized AgeGate View.
 @return A valid UIView. Reutrn nil if no customized Age Gate is needed.
 @discussion SDK will call this method to see if user wants to implement their own custom age gate view.
             Check for didPassAgeGate for other details.
 */
- (UIView*)customAgeGateView;
/*!
 @abstract
 Called after the SDK has been successfully initialized
 @param status The result of the initialization. YES if successful. NO if failed.
 @discussion Implement to be notified of when the initialization process has finished.
 */
- (void)didInitialize:(BOOL)status;
#pragma mark - Interstitial Delegate
/*!
 @abstract
 Called before requesting an interstitial via the Chartboost API server.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should fetch data from
 the Chartboost API servers for the given CBLocation.  This is evaluated
 if the showInterstitial:(CBLocation) or cacheInterstitial:(CBLocation)location
 are called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op.
 Default return is YES.
 */
- (BOOL)shouldRequestInterstitial:(CBLocation)location;
/*!
 @abstract
 Called before an interstitial will be displayed on the screen.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should display an interstitial
 for the given CBLocation.  This is evaluated if the showInterstitial:(CBLocation)
 is called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op and nothing is displayed.
 Default return is YES.
 */
- (BOOL)shouldDisplayInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has
 been displayed on the screen for a given CBLocation.
 */
- (void)didDisplayInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an interstitial has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadInterstitial:(CBLocation)location
                        withError:(CBLoadError)error;
/*!
 @abstract
 Called after a click is registered, but the user is not fowrwarded to the IOS App Store.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when a click is registered, but the user is not fowrwarded
 to the IOS App Store for a given CBLocation.
 */
- (void)didFailToRecordClick:(CBLocation)location
                   withError:(CBClickError)error;
/*!
 @abstract
 Called after an interstitial has been dismissed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been dismissed for a given CBLocation.
 "Dismissal" is defined as any action that removed the interstitial UI such as a click or close.
 */
- (void)didDismissInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been closed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been closed for a given CBLocation.
 "Closed" is defined as clicking the close interface for the interstitial.
 */
- (void)didCloseInterstitial:(CBLocation)location;
/*!
 @abstract
 Called after an interstitial has been clicked.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial has been click for a given CBLocation.
 "Clicked" is defined as clicking the creative interface for the interstitial.
 */
- (void)didClickInterstitial:(CBLocation)location;
#pragma mark - Rewarded Video Delegate
/*!
 @abstract
 Called before a rewarded video will be displayed on the screen.
 @param location The location for the Chartboost impression type.
 @return YES if execution should proceed, NO if not.
 @discussion Implement to control if the Charboost SDK should display a rewarded video
 for the given CBLocation.  This is evaluated if the showRewardedVideo:(CBLocation)
 is called.  If YES is returned the operation will proceed, if NO, then the
 operation is treated as a no-op and nothing is displayed.
 Default return is YES.
 */
- (BOOL)shouldDisplayRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has
 been displayed on the screen for a given CBLocation.
 */
- (void)didDisplayRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an rewarded video has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadRewardedVideo:(CBLocation)location
                         withError:(CBLoadError)error;
/*!
 @abstract
 Called after a rewarded video has been dismissed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been dismissed for a given CBLocation.
 "Dismissal" is defined as any action that removed the rewarded video UI such as a click or close.
 */
- (void)didDismissRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been closed.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been closed for a given CBLocation.
 "Closed" is defined as clicking the close interface for the rewarded video.
 */
- (void)didCloseRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been clicked.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been click for a given CBLocation.
 "Clicked" is defined as clicking the creative interface for the rewarded video.
 */
- (void)didClickRewardedVideo:(CBLocation)location;
/*!
 @abstract
 Called after a rewarded video has been viewed completely and user is eligible for reward.
 @param reward The reward for watching the video.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a rewarded video has been viewed completely and user is eligible for reward.
 */
- (void)didCompleteRewardedVideo:(CBLocation)location
                      withReward:(int)reward;
#pragma mark - InPlay Delegate
/*!
 @abstract
 Called after an InPlay object has been loaded from the Chartboost API
 servers and cached locally.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an InPlay object has been loaded from the Chartboost API
 servers and cached locally for a given CBLocation.
 */
- (void)didCacheInPlay:(CBLocation)location;
/*!
 @abstract
 Called after a InPlay has attempted to load from the Chartboost API
 servers but failed.
 @param location The location for the Chartboost impression type.
 @param error The reason for the error defined via a CBLoadError.
 @discussion Implement to be notified of when an InPlay has attempted to load from the Chartboost API
 servers but failed for a given CBLocation.
 */
- (void)didFailToLoadInPlay:(CBLocation)location
                  withError:(CBLoadError)error;
#pragma mark - General Delegate
/*!
 @abstract
 Called before an interstitial has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when an interstitial will
 be displayed on the screen for a given CBLocation.
 */
- (void)willDisplayInterstitial:(CBLocation)location;
/*!
 @abstract
 Called before a video has been displayed on the screen.
 @param location The location for the Chartboost impression type.
 @discussion Implement to be notified of when a video will
 be displayed on the screen for a given CBLocation.  You can then do things like mute
 effects and sounds.
 */
- (void)willDisplayVideo:(CBLocation)location;
/*!
 @abstract
 Called after the App Store sheet is dismissed, when displaying the embedded app sheet.
 @discussion Implement to be notified of when the App Store sheet is dismissed.
 */
- (void)didCompleteAppStoreSheetFlow;
/*!
 @abstract
 Called if Chartboost SDK pauses click actions awaiting confirmation from the user.
 @discussion Use this method to display any gating you would like to prompt the user for input.
 Once confirmed call didPassAgeGate:(BOOL)pass to continue execution.
 */
- (void)didPauseClickForConfirmation;
@end
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:2017/6/27 09:28 ver:3.6.5
//time:2018/4/11 14:23 ver:3.6.7
frameworks/WACbImpl.framework/Info.plist
Binary files differ
frameworks/WACbImpl.framework/WACbImpl
Binary files differ
frameworks/WACbImpl.framework/_CodeSignature/CodeDirectory
Binary files differ
frameworks/WACbImpl.framework/_CodeSignature/CodeRequirements-1
Binary files differ
frameworks/WACbImpl.framework/_CodeSignature/CodeResources
@@ -6,11 +6,11 @@
    <dict>
        <key>Headers/WACbImpl.h</key>
        <data>
        W48R6c8C+u7LZyi6EnAYdZAsPY0=
        dUXEo+M6aTBgr+pJN4yqvJAgVC4=
        </data>
        <key>Info.plist</key>
        <data>
        dGZrPg2WjSUQXc+qcbSlN4f7bqU=
        5Jjs8aHkhPIA8z/f4ROvFP0XkYQ=
        </data>
        <key>Modules/module.modulemap</key>
        <data>
@@ -23,11 +23,11 @@
        <dict>
            <key>hash</key>
            <data>
            W48R6c8C+u7LZyi6EnAYdZAsPY0=
            dUXEo+M6aTBgr+pJN4yqvJAgVC4=
            </data>
            <key>hash2</key>
            <data>
            jyVglihnJRTsbDH/NhVoUytJPsNV6VXxebaGRsLl0HE=
            hfOCfDiQCnhdeYfFzzFJXT1dw3v++S3+1LYyksjaE7o=
            </data>
        </dict>
        <key>Modules/module.modulemap</key>
frameworks/WACbImpl.framework/_CodeSignature/CodeSignature
Binary files differ