Skip to content

Commit

Permalink
Updating Appodeal to 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Mar 27, 2023
1 parent 22b0bd4 commit 6e53090
Show file tree
Hide file tree
Showing 24 changed files with 146 additions and 46 deletions.
Binary file modified plugins/2018.3326/iphone-sim/AdColony.framework/AdColony
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong, readonly) NSString *zoneID;

/**
@abstract AdColonyAdView's delegate.
@discussion Use this delegate to get ad event callbacks.
*/
@property (nonatomic, weak, nullable) id<AdColonyAdViewDelegate> delegate __attribute__((deprecated("Deprecated in v4.7.0")));

/**
@abstract Indicates that the AdColonyAdView has been removed from the view hierarchy and should be destroyed.
@discussion The AdColony SDK maintains internal resources when the ad is being displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
- (void)adColonyAdViewDidFailToLoad:(AdColonyAdRequestError * _Nonnull)error;

@optional
/**
@abstract Did show notification
@discussion Ad view was added to a view with active window
@param adView Shown ad view
*/
- (void)adColonyAdViewDidShow:(AdColonyAdView * _Nonnull)adView;

/**
@abstract Application leave notification
@discussion Notifies you when ad view is going to redirect user to content outside of the application.
Expand Down Expand Up @@ -59,9 +66,19 @@

@end

/**
* The delegate of an AdColonyAdView object. This delegate receives ad view lifecycle notifications.
*/
@protocol AdColonyAdViewAdvancedDelegate <AdColonyAdViewDelegate>

#ifndef AdColonyAdViewDelegate_h
#define AdColonyAdViewDelegate_h
@required

/**
@abstract Host view controller request
@discussion Requests hosting view controller when needed if it wasn't provided during ad request.
@param adView The ad view which requests host view controller.
@return view controller that hosts given ad view
*/
- (UIViewController * _Nonnull)adColonyAdViewHostViewController:(AdColonyAdView * _Nonnull)adView;

#endif /* AdColonyAdViewDelegate_h */
@end
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@class AdColonyZone;

@protocol AdColonyAdViewDelegate;
@protocol AdColonyAdViewAdvancedDelegate;
@protocol AdColonyInterstitialDelegate;

NS_ASSUME_NONNULL_BEGIN
Expand All @@ -19,6 +20,24 @@ NS_ASSUME_NONNULL_BEGIN

/** @name Starting AdColony */

- (instancetype)init NS_UNAVAILABLE;

/**
@abstract Configures AdColony specifically for your app; required for usage of the rest of the API.
@discussion This method returns immediately; any long-running work such as network connections are performed in the background.
AdColony does not begin preparing ads for display or performing reporting until after it is configured by your app.
The required appID parameter for this method can be created and retrieved at the [Control Panel](http://clients.adcolony.com).
If appID is `nil`, app will be unable to play ads and AdColony will only provide limited reporting and install-tracking functionality.
Please note the completion handler. You should not start requesting ads until it has fired.
If there is a configuration error, the set of zones passed to the completion handler will be nil.
@param appID The AdColony app ID for your app.
@param options (optional) Configuration options for your app.
@param completion (optional) A block of code to be executed upon completion of the configuration operation. Dispatched on main thread.
@see AdColonyAppOptions
@see AdColonyZone
*/
+ (void)configureWithAppID:(NSString *)appID options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion;

/**
@abstract Configures AdColony specifically for your app; required for usage of the rest of the API.
@discussion This method returns immediately; any long-running work such as network connections are performed in the background.
Expand All @@ -33,8 +52,9 @@ NS_ASSUME_NONNULL_BEGIN
@param completion (optional) A block of code to be executed upon completion of the configuration operation. Dispatched on main thread.
@see AdColonyAppOptions
@see AdColonyZone
@deprecated please use configure without zoneIDs
*/
+ (void)configureWithAppID:(NSString *)appID zoneIDs:(NSArray<NSString *> *)zoneIDs options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion;
+ (void)configureWithAppID:(NSString *)appID zoneIDs:(NSArray<NSString *> *)zoneIDs options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion __attribute__((deprecated("Deprecated in v4.8.0")));

/**
@abstract Requests an AdColonyInterstitial.
Expand Down Expand Up @@ -82,6 +102,21 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size andOptions:(nullable AdColonyAdOptions *)options viewController:(UIViewController *)viewController andDelegate:(id<AdColonyAdViewDelegate>)delegate;

/**
@abstract Request an AdColonyAdView.
@discussion This method returns immediately, before the ad request completes.
If the request is successful, an AdColonyAdView object will be passed to the delegate adColonyAdViewDidLoad: method.
If the request is unsuccessful, an AdColonyAdRequestError object will be passed to the delegate adColonyAdViewDidFailToLoad method.
@param zoneID The AdColony zone identifier string indicating which zone the ad request is for.
@param size The desired size of the banner ad view.
@param options An AdColonyAdOptions object used to set configurable aspects of the ad request.
@param delegate ad view advanced delegate
@see AdColonyAdOptions
@see AdColonyAdView
@see AdColonyAdRequestError
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size options:(nullable AdColonyAdOptions *)options andDelegate:(id<AdColonyAdViewAdvancedDelegate>)delegate;

/** @name Zone */

/**
Expand Down Expand Up @@ -185,6 +220,7 @@ NS_ASSUME_NONNULL_BEGIN
@abstract Gathers AdColony specific information to be passed into OpenRTB bid request.
@discussion Gathers AdColony specific information to be passed into OpenRTB bid requests from a mediation setting.
@param completion A block of code to be executed when collection finishes, with result or error, on target dispatch. If nil dispatch is provided, this method behaves like collectSignals:.
@param dispatch Target dispatch queue for completion callback block
*/
+ (void)collectSignals:(nonnull void (^)(NSString * _Nullable signals, NSError * _Nullable error))completion targetDispatch:(nullable dispatch_queue_t)dispatch;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ typedef NS_ENUM(NSUInteger, AdColonyRequestError) {

/** This iOS version is no longer supported. */
AdColonyRequestErrorFeatureUnsupported,

/** Unexpected result */
AdColonyRequestErrorUnexpected
};

/**
Expand Down
Binary file modified plugins/2018.3326/iphone-sim/AdColony.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
</data>
<key>Headers/AdColonyAdView.h</key>
<data>
XxP3Jjab5afk0kCXZpiW5U0SmGc=
LlbLgL75+6g6Q7fFLSJ4TXmc6NQ=
</data>
<key>Headers/AdColonyAdViewDelegate.h</key>
<data>
MxJTDpv48kltPCJO1JfSSJMbenc=
BojYu9LVUvi+0CgVb2OubqmDdD0=
</data>
<key>Headers/AdColonyAppOptions.h</key>
<data>
Expand All @@ -50,11 +50,11 @@
</data>
<key>Headers/AdColonyPublic.h</key>
<data>
sELZc85rp+S8u0Do3N4oLG8jPm4=
Ujl5iAKTgIaswgtG20gBJOkk+8A=
</data>
<key>Headers/AdColonyTypes.h</key>
<data>
Uza0maPO4B9XWWPa1OCzhLloWGk=
j1CJiFoNc4XD1P+ti6WXuvWwKd4=
</data>
<key>Headers/AdColonyUserMetadata.h</key>
<data>
Expand All @@ -66,7 +66,7 @@
</data>
<key>Info.plist</key>
<data>
HmhNN+IuRHIt1zVKuVsCjWoiNXI=
Tr1mb19jMY8EejvkxqaLLOVN9fE=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -123,22 +123,22 @@
<dict>
<key>hash</key>
<data>
XxP3Jjab5afk0kCXZpiW5U0SmGc=
LlbLgL75+6g6Q7fFLSJ4TXmc6NQ=
</data>
<key>hash2</key>
<data>
vjXfpAmtC04pU+GGAfSGJKDBeigrbkgVFZxStvo6zyg=
EZ82RSC0gLSrYIRptT977PZsTbWfVWOFsTebt/ouJ2M=
</data>
</dict>
<key>Headers/AdColonyAdViewDelegate.h</key>
<dict>
<key>hash</key>
<data>
MxJTDpv48kltPCJO1JfSSJMbenc=
BojYu9LVUvi+0CgVb2OubqmDdD0=
</data>
<key>hash2</key>
<data>
9HhugofD8MimsBp1YK+HXniczyeh1FnVhbu3PsdVBTA=
FHOdH7AqQ0usVXxUVvjL4eeYuPXYTuFFp1r1aD1RrT0=
</data>
</dict>
<key>Headers/AdColonyAppOptions.h</key>
Expand Down Expand Up @@ -200,22 +200,22 @@
<dict>
<key>hash</key>
<data>
sELZc85rp+S8u0Do3N4oLG8jPm4=
Ujl5iAKTgIaswgtG20gBJOkk+8A=
</data>
<key>hash2</key>
<data>
uM2xJqiA87cgKe5+Uv0wKakNa1YxBs+xWXbfo4NxhWQ=
AwlGuFSRDnqlF8Cz+j8vTRJbkS/DPvxNNSljaczEAXY=
</data>
</dict>
<key>Headers/AdColonyTypes.h</key>
<dict>
<key>hash</key>
<data>
Uza0maPO4B9XWWPa1OCzhLloWGk=
j1CJiFoNc4XD1P+ti6WXuvWwKd4=
</data>
<key>hash2</key>
<data>
ZY0YcIi8nHV59ic8iQcsjxQSiJ6IT8LCb8FSJ9ma2QI=
zCmvdDRrfT4EiIVDp8TPlwTXMDsCARyF7hMGhEweM+Q=
</data>
</dict>
<key>Headers/AdColonyUserMetadata.h</key>
Expand Down
Binary file modified plugins/2018.3326/iphone-sim/libAPDAdColonyAdapter.a
Binary file not shown.
Binary file modified plugins/2018.3326/iphone/AdColony.framework/AdColony
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong, readonly) NSString *zoneID;

/**
@abstract AdColonyAdView's delegate.
@discussion Use this delegate to get ad event callbacks.
*/
@property (nonatomic, weak, nullable) id<AdColonyAdViewDelegate> delegate __attribute__((deprecated("Deprecated in v4.7.0")));

/**
@abstract Indicates that the AdColonyAdView has been removed from the view hierarchy and should be destroyed.
@discussion The AdColony SDK maintains internal resources when the ad is being displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
- (void)adColonyAdViewDidFailToLoad:(AdColonyAdRequestError * _Nonnull)error;

@optional
/**
@abstract Did show notification
@discussion Ad view was added to a view with active window
@param adView Shown ad view
*/
- (void)adColonyAdViewDidShow:(AdColonyAdView * _Nonnull)adView;

/**
@abstract Application leave notification
@discussion Notifies you when ad view is going to redirect user to content outside of the application.
Expand Down Expand Up @@ -59,9 +66,19 @@

@end

/**
* The delegate of an AdColonyAdView object. This delegate receives ad view lifecycle notifications.
*/
@protocol AdColonyAdViewAdvancedDelegate <AdColonyAdViewDelegate>

#ifndef AdColonyAdViewDelegate_h
#define AdColonyAdViewDelegate_h
@required

/**
@abstract Host view controller request
@discussion Requests hosting view controller when needed if it wasn't provided during ad request.
@param adView The ad view which requests host view controller.
@return view controller that hosts given ad view
*/
- (UIViewController * _Nonnull)adColonyAdViewHostViewController:(AdColonyAdView * _Nonnull)adView;

#endif /* AdColonyAdViewDelegate_h */
@end
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@class AdColonyZone;

@protocol AdColonyAdViewDelegate;
@protocol AdColonyAdViewAdvancedDelegate;
@protocol AdColonyInterstitialDelegate;

NS_ASSUME_NONNULL_BEGIN
Expand All @@ -19,6 +20,24 @@ NS_ASSUME_NONNULL_BEGIN

/** @name Starting AdColony */

- (instancetype)init NS_UNAVAILABLE;

/**
@abstract Configures AdColony specifically for your app; required for usage of the rest of the API.
@discussion This method returns immediately; any long-running work such as network connections are performed in the background.
AdColony does not begin preparing ads for display or performing reporting until after it is configured by your app.
The required appID parameter for this method can be created and retrieved at the [Control Panel](http://clients.adcolony.com).
If appID is `nil`, app will be unable to play ads and AdColony will only provide limited reporting and install-tracking functionality.
Please note the completion handler. You should not start requesting ads until it has fired.
If there is a configuration error, the set of zones passed to the completion handler will be nil.
@param appID The AdColony app ID for your app.
@param options (optional) Configuration options for your app.
@param completion (optional) A block of code to be executed upon completion of the configuration operation. Dispatched on main thread.
@see AdColonyAppOptions
@see AdColonyZone
*/
+ (void)configureWithAppID:(NSString *)appID options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion;

/**
@abstract Configures AdColony specifically for your app; required for usage of the rest of the API.
@discussion This method returns immediately; any long-running work such as network connections are performed in the background.
Expand All @@ -33,8 +52,9 @@ NS_ASSUME_NONNULL_BEGIN
@param completion (optional) A block of code to be executed upon completion of the configuration operation. Dispatched on main thread.
@see AdColonyAppOptions
@see AdColonyZone
@deprecated please use configure without zoneIDs
*/
+ (void)configureWithAppID:(NSString *)appID zoneIDs:(NSArray<NSString *> *)zoneIDs options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion;
+ (void)configureWithAppID:(NSString *)appID zoneIDs:(NSArray<NSString *> *)zoneIDs options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion __attribute__((deprecated("Deprecated in v4.8.0")));

/**
@abstract Requests an AdColonyInterstitial.
Expand Down Expand Up @@ -82,6 +102,21 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size andOptions:(nullable AdColonyAdOptions *)options viewController:(UIViewController *)viewController andDelegate:(id<AdColonyAdViewDelegate>)delegate;

/**
@abstract Request an AdColonyAdView.
@discussion This method returns immediately, before the ad request completes.
If the request is successful, an AdColonyAdView object will be passed to the delegate adColonyAdViewDidLoad: method.
If the request is unsuccessful, an AdColonyAdRequestError object will be passed to the delegate adColonyAdViewDidFailToLoad method.
@param zoneID The AdColony zone identifier string indicating which zone the ad request is for.
@param size The desired size of the banner ad view.
@param options An AdColonyAdOptions object used to set configurable aspects of the ad request.
@param delegate ad view advanced delegate
@see AdColonyAdOptions
@see AdColonyAdView
@see AdColonyAdRequestError
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size options:(nullable AdColonyAdOptions *)options andDelegate:(id<AdColonyAdViewAdvancedDelegate>)delegate;

/** @name Zone */

/**
Expand Down Expand Up @@ -185,6 +220,7 @@ NS_ASSUME_NONNULL_BEGIN
@abstract Gathers AdColony specific information to be passed into OpenRTB bid request.
@discussion Gathers AdColony specific information to be passed into OpenRTB bid requests from a mediation setting.
@param completion A block of code to be executed when collection finishes, with result or error, on target dispatch. If nil dispatch is provided, this method behaves like collectSignals:.
@param dispatch Target dispatch queue for completion callback block
*/
+ (void)collectSignals:(nonnull void (^)(NSString * _Nullable signals, NSError * _Nullable error))completion targetDispatch:(nullable dispatch_queue_t)dispatch;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ typedef NS_ENUM(NSUInteger, AdColonyRequestError) {

/** This iOS version is no longer supported. */
AdColonyRequestErrorFeatureUnsupported,

/** Unexpected result */
AdColonyRequestErrorUnexpected
};

/**
Expand Down
Binary file modified plugins/2018.3326/iphone/AdColony.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 6e53090

Please sign in to comment.