react-native-google-mobile-ads 16.0.2 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,8 +66,7 @@ public class ReactNativeGoogleMobileAdsCommon {
66
66
  return AdSize.getCurrentOrientationInlineAdaptiveBannerAdSize(
67
67
  reactViewGroup.getContext(), adWidth);
68
68
  }
69
- return AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(
70
- reactViewGroup.getContext(), adWidth);
69
+ return AdSize.getLargeAnchoredAdaptiveBannerAdSize(reactViewGroup.getContext(), adWidth);
71
70
  } catch (Exception e) {
72
71
  return AdSize.BANNER;
73
72
  }
package/docs/index.mdx CHANGED
@@ -255,6 +255,7 @@ Note that these identifiers are subject to change and should be updated regularl
255
255
  "3sh42y64q3.skadnetwork",
256
256
  "c6k4g5qg8m.skadnetwork",
257
257
  "s39g8k73mm.skadnetwork",
258
+ "wg4vff78zm.skadnetwork",
258
259
  "3qy4746246.skadnetwork",
259
260
  "f38h382jlk.skadnetwork",
260
261
  "hs6bdukanm.skadnetwork",
@@ -323,6 +324,7 @@ Note that these identifiers are subject to change and should be updated regularl
323
324
  "3sh42y64q3.skadnetwork",
324
325
  "c6k4g5qg8m.skadnetwork",
325
326
  "s39g8k73mm.skadnetwork",
327
+ "wg4vff78zm.skadnetwork",
326
328
  "3qy4746246.skadnetwork",
327
329
  "f38h382jlk.skadnetwork",
328
330
  "hs6bdukanm.skadnetwork",
@@ -104,8 +104,6 @@ NSString *const GOOGLE_MOBILE_ADS_EVENT_REWARDED_EARNED_REWARD = @"rewarded_earn
104
104
  code = @"network-error";
105
105
  } else if (error.code == GADErrorServerError) {
106
106
  code = @"server-error";
107
- } else if (error.code == GADErrorOSVersionTooLow) {
108
- code = @"os-version-too-low";
109
107
  } else if (error.code == GADErrorTimeout) {
110
108
  code = @"timeout";
111
109
  } else if (error.code == GADErrorMediationDataError) {
@@ -211,7 +209,7 @@ NSString *const GOOGLE_MOBILE_ADS_EVENT_REWARDED_EARNED_REWARD = @"rewarded_earn
211
209
  }
212
210
  return GADCurrentOrientationInlineAdaptiveBannerAdSizeWithWidth(viewWidth);
213
211
  }
214
- return GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(viewWidth);
212
+ return GADLargeAnchoredAdaptiveBannerAdSizeWithWidth(viewWidth);
215
213
  } else {
216
214
  return GADAdSizeBanner;
217
215
  }
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = void 0;
7
7
  // Generated by genversion.
8
- const version = exports.version = '16.0.2';
8
+ const version = exports.version = '16.1.0';
9
9
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated by genversion.
4
- export const version = '16.0.2';
4
+ export const version = '16.1.0';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "16.0.2";
1
+ export declare const SDK_VERSION = "16.1.0";
2
2
  export { default, MobileAds } from './MobileAds';
3
3
  export { AdsConsentDebugGeography, AdsConsentInfo, AdsConsentInfoOptions, AdsConsentInterface, AdsConsentPrivacyOptionsRequirementStatus, AdsConsentStatus, AdsConsentUserChoices, } from './specs/modules/NativeConsentModule';
4
4
  export { AdsConsentPurposes } from './AdsConsentPurposes';
@@ -1,2 +1,2 @@
1
- export declare const version = "16.0.2";
1
+ export declare const version = "16.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-google-mobile-ads",
3
- "version": "16.0.2",
3
+ "version": "16.1.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",
6
6
  "main": "lib/commonjs/index.js",
@@ -43,16 +43,16 @@
43
43
  ],
44
44
  "sdkVersions": {
45
45
  "ios": {
46
- "googleMobileAds": "12.11.0",
47
- "googleUmp": "3.0.0"
46
+ "googleMobileAds": "13.1.0",
47
+ "googleUmp": "3.1.0"
48
48
  },
49
49
  "android": {
50
50
  "minSdk": 23,
51
51
  "targetSdk": 34,
52
52
  "compileSdk": 34,
53
53
  "buildTools": "34.0.0",
54
- "googleMobileAds": "24.6.0",
55
- "googleUmp": "3.2.0"
54
+ "googleMobileAds": "25.0.0",
55
+ "googleUmp": "4.0.0"
56
56
  }
57
57
  },
58
58
  "react-native-builder-bob": {
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '16.0.2';
2
+ export const version = '16.1.0';