Skip to content

Commit

Permalink
Merge pull request #22 from azerion/release/v4.3.0
Browse files Browse the repository at this point in the history
Release/v4.3.0-perview.4
  • Loading branch information
torongo-azerion authored Oct 16, 2023
2 parents b32d0fd + b102023 commit a76b600
Show file tree
Hide file tree
Showing 124 changed files with 14,680 additions and 1,310 deletions.
5 changes: 3 additions & 2 deletions BlueStack-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Pod::Spec.new do |spec|

spec.name = "BlueStack-SDK"
spec.version = "4.3.0-preview.3"
spec.version = "4.3.0-preview.4"
spec.static_framework = true
spec.summary = "BlueStack by Azerion provides functionalities for monetizing your mobile application"
spec.description = <<-DESC
BlueStack by Azerion provides functionalities for monetizing your mobile application: from premium sales with reach media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that allow you to handle the following Ads servers with the easy way :
Expand Down Expand Up @@ -90,7 +91,7 @@ spec.source = { :git => "https://github.com/azerion/BlueStackSDK.git",

spec.subspec 'CriteoPublisherSdk' do |criteo|
criteo.vendored_frameworks = 'BluestackCriteoAdapter.xcframework'
criteo.dependency 'CriteoPublisherSdk', '4.5.0'
criteo.dependency 'CriteoPublisherSdk', '5.0.3'
criteo.dependency 'BlueStack-SDK/Core'
end

Expand Down
13 changes: 5 additions & 8 deletions Dependencies/CriteoPublisherSdk.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>CriteoPublisherSdk.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>CriteoPublisherSdk.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef CRConstants_h
#define CRConstants_h

#define CRITEO_PUBLISHER_SDK_VERSION @"4.5.0"
#define CRITEO_PUBLISHER_SDK_VERSION @"5.0.3"

#define CRITEO_DEFAULT_REQUEST_TIMEOUT_IN_SECONDS 60
#define CRITEO_DEFAULT_BID_TTL_IN_SECONDS 15 * 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ NS_ASSUME_NONNULL_BEGIN
* ad.
*
* @param loader Native loader invoking the callback
* @param ad native ad with the data that may be used to render it
* @param nativeAd Native ad with the data that may be used to render it
*/
- (void)nativeLoader:(CRNativeLoader *)loader didReceiveAd:(CRNativeAd *)ad;
- (void)nativeLoader:(CRNativeLoader *)loader didReceiveAd:(CRNativeAd *)nativeAd;

/**
* Callback invoked when the SDK fails to provide a native ad.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ NS_ASSUME_NONNULL_BEGIN
/** Set a custom opt-out/opt-in with same behaviour as the CCPA (US Privacy). */
- (void)setUsPrivacyOptOut:(BOOL)usPrivacyOptOut;

/** Set the privacy consent string owned by the Mopub SDK. */
- (void)setMopubConsent:(NSString *)mopubConsent;
/** Set the privacy consent string owned by the Mopub SDK.
@deprecated Mopub SDK is not supported anymore
*/
- (void)setMopubConsent:(NSString *)mopubConsent __deprecated;

#pragma mark - User data

Expand All @@ -72,6 +74,11 @@ NS_ASSUME_NONNULL_BEGIN

#pragma mark - Bidding

/// Set to true if you think that your mobile app is intended specifically for children, so we treat
/// bidding as child-directed in whole or in part for the purposes of the Children's Online Privacy
/// Protection Act (COPPA).
@property(nonatomic) NSNumber *_Nullable childDirectedTreatment;

/**
* Request asynchronously a bid from Criteo
* @param adUnit The ad unit to request
Expand All @@ -95,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN

/**
* App bidding API, enrich your ad object with Criteo metadata
* @param object The object to enrich, supports GAM and MoPub
* @param object The object to enrich, supports GAM
* @param bid The bid obtained from Criteo
*/
- (void)enrichAdObject:(id)object withBid:(CRBid *_Nullable)bid;
Expand All @@ -104,6 +111,10 @@ NS_ASSUME_NONNULL_BEGIN

+ (void)setVerboseLogsEnabled:(BOOL)enabled;

#pragma mark - Testing

+ (void)setSharedInstance:(Criteo *)instance;

@end
NS_ASSUME_NONNULL_END

Expand Down
Loading

0 comments on commit a76b600

Please sign in to comment.