Skip to content

Commit

Permalink
Max 12.1 Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Jan 6, 2024
1 parent 1e5e012 commit d65d137
Show file tree
Hide file tree
Showing 35 changed files with 1,139 additions and 45 deletions.
2 changes: 1 addition & 1 deletion plugins/2018.3326/android/corona.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ repositories {
}

dependencies {
implementation("com.applovin.mediation:google-adapter:22.4.0.0")
implementation("com.applovin.mediation:google-adapter:22.6.0.0")
}
Binary file modified plugins/2018.3326/iphone-sim/FBLPromises.framework/FBLPromises
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleVersion</key>
<string>10.13.0</string>
<string>10.17.0</string>
<key>DTSDKName</key>
<string>iphonesimulator11.2</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleVersion</key>
<string>10.13.0</string>
<string>10.17.0</string>
<key>DTSDKName</key>
<string>iphonesimulator11.2</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
//

#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>

/// Requested ad format.
typedef NS_ENUM(NSInteger, GADAdFormat) {
GADAdFormatBanner, ///< Banner.
GADAdFormatInterstitial, ///< Interstitial.
GADAdFormatRewarded, ///< Rewarded.
GADAdFormatNative, ///< Native.
GADAdFormatRewardedInterstitial, ///< Rewarded interstitial.
GADAdFormatUnknown, ///< Unknown.
GADAdFormatAppOpen, ///< App open.
GADAdFormatBanner = 0, ///< Banner.
GADAdFormatInterstitial = 1, ///< Interstitial.
GADAdFormatRewarded = 2, ///< Rewarded.
GADAdFormatNative = 3, ///< Native.
GADAdFormatRewardedInterstitial = 4, ///< Rewarded interstitial.
GADAdFormatUnknown GAD_DEPRECATED_MSG_ATTRIBUTE("Deprecated. No replacement.") = 5, ///< Unknown.
GADAdFormatAppOpen = 6, ///< App open.
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ FOUNDATION_EXPORT GADMaxAdContentRating _Nonnull const GADMaxAdContentRatingTeen
FOUNDATION_EXPORT GADMaxAdContentRating _Nonnull const GADMaxAdContentRatingMatureAudience;

/// Add this constant to the testDevices property's array to receive test ads on the simulator.
FOUNDATION_EXPORT NSString *_Nonnull const GADSimulatorID;
FOUNDATION_EXPORT NSString *_Nonnull const GADSimulatorID GAD_DEPRECATED_MSG_ATTRIBUTE(
"Deprecated. Simulators are already in test mode by default.");

/// Publisher privacy treatment personalization states.
typedef NS_ENUM(NSInteger, GADPublisherPrivacyPersonalizationState) {
/// Indicates that ad requests should receive the default publisher privacy treatment.
GADPublisherPrivacyPersonalizationStateDefault = 0,
/// Indicates that ad requests should receive personalized publisher privacy treatment.
GADPublisherPrivacyPersonalizationStateEnabled = 1,
/// Indicates that ad requests should receive non-personalized publisher privacy treatment.
GADPublisherPrivacyPersonalizationStateDisabled = 2,
};

/// Request configuration. The settings in this class will apply to all ad requests.
@interface GADRequestConfiguration : NSObject
Expand Down Expand Up @@ -69,12 +80,24 @@ FOUNDATION_EXPORT NSString *_Nonnull const GADSimulatorID;
/// in termination of your Google account.
@property(nonatomic, nullable, copy) NSNumber *tagForChildDirectedTreatment;

/// Controls whether the Google Mobile Ads SDK Same App Key is enabled. The value set persists
/// across app sessions. The key is enabled by default.
- (void)setSameAppKeyEnabled:(BOOL)enabled;
/// Controls whether the Google Mobile Ads SDK publisher first-party ID, formerly known as the same
/// app key, is enabled. The value set persists across app sessions. The key is enabled by default.
- (void)setPublisherFirstPartyIDEnabled:(BOOL)enabled;

#pragma mark - Publisher Privacy Treatment

/// This property lets you specify the personalization treatment that applies to subsequent ad
/// requests.
@property(nonatomic) GADPublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState;

#pragma mark - Deprecated

/// Controls whether the Google Mobile Ads SDK Same App Key is enabled. The value set persists
/// across app sessions. The key is enabled by default.
- (void)setSameAppKeyEnabled:(BOOL)enabled
GAD_DEPRECATED_MSG_ATTRIBUTE(
"This method is deprecated. Use the setPublisherFirstPartyIDEnabled: method instead.");

/// This method lets you specify whether the user is under the age of consent.
/// https://developers.google.com/admob/ios/targeting#users_under_the_age_of_consent.
///
Expand Down Expand Up @@ -103,7 +126,7 @@ FOUNDATION_EXPORT NSString *_Nonnull const GADSimulatorID;
/// termination of your Google account.
- (void)tagForChildDirectedTreatment:(BOOL)childDirectedTreatment
GAD_DEPRECATED_MSG_ATTRIBUTE(
"This method is deprecated. Use the tagForChildDirectedTreatment property instead. "
"PCalling this method internally sets the property.");
"This method is deprecated. Use the tagForChildDirectedTreatment property instead. Calling "
"this method internally sets the property.");

@end
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
/// Extras the publisher registered with -[GADRequest registerAdNetworkExtras:].
@property(nonatomic, readonly, nullable) id<GADAdNetworkExtras> extras;

/// The value of childDirectedTreatment supplied by the publisher. Is nil if the publisher hasn't
/// specified child directed treatment. Is @YES if child directed treatment is enabled.
@property(nonatomic, readonly, nullable) NSNumber *childDirectedTreatment;

/// Indicates whether the publisher is requesting test ads.
@property(nonatomic, readonly) BOOL isTestRequest;

Expand All @@ -55,4 +51,11 @@
@property(nonatomic, readonly) CGFloat userLocationAccuracyInMeters GAD_DEPRECATED_MSG_ATTRIBUTE(
"Deprecated and unsupported. Always returns 0.");

/// The value of childDirectedTreatment supplied by the publisher. Is nil if the publisher hasn't
/// specified child directed treatment. Is @YES if child directed treatment is enabled.
@property(nonatomic, readonly, nullable)
NSNumber *childDirectedTreatment GAD_DEPRECATED_MSG_ATTRIBUTE(
"Deprecated. Use "
"GADMobileAds.sharedInstance.requestConfiguration.tagForChildDirectedTreatment instead.");

@end
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import <Foundation/Foundation.h>

#if TARGET_OS_IOS || TARGET_OS_TV
#if TARGET_OS_IOS || TARGET_OS_TV || (defined(TARGET_OS_VISION) && TARGET_OS_VISION)

#import <UIKit/UIKit.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleVersion</key>
<string>7.11.5</string>
<string>7.11.6</string>
<key>DTSDKName</key>
<string>iphonesimulator11.2</string>
</dict>
Expand Down
Binary file modified plugins/2018.3326/iphone-sim/libGoogleAdapter.a
Binary file not shown.
2 changes: 1 addition & 1 deletion plugins/2018.3326/iphone-sim/metadata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local metadata =
plugin =
{
format = 'staticLibrary',
staticLibs = {"GoogleAdapter"},
staticLibs = {'GoogleAdapter'},
frameworks = { 'GoogleAppMeasurement', 'GoogleAppMeasurementIdentitySupport', 'GoogleMobileAds', 'FBLPromises', 'GoogleUtilities', 'nanopb', "UserMessagingPlatform" },
frameworksOptional = {},
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif

#import "pb.h"
#import "pb_common.h"
#import "pb_decode.h"
#import "pb_encode.h"
#import "pb.h"
#import "pb_decode.h"
#import "pb_common.h"
#import "pb.h"
#import "pb_encode.h"
#import "pb_common.h"

FOUNDATION_EXPORT double nanopbVersionNumber;
FOUNDATION_EXPORT const unsigned char nanopbVersionString[];

Loading

0 comments on commit d65d137

Please sign in to comment.