react-native-google-mobile-ads 16.0.3 → 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.
- package/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsCommon.java +1 -2
- package/docs/index.mdx +2 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsCommon.mm +1 -3
- package/lib/commonjs/version.js +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/version.ts +1 -1
package/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsCommon.java
CHANGED
|
@@ -66,8 +66,7 @@ public class ReactNativeGoogleMobileAdsCommon {
|
|
|
66
66
|
return AdSize.getCurrentOrientationInlineAdaptiveBannerAdSize(
|
|
67
67
|
reactViewGroup.getContext(), adWidth);
|
|
68
68
|
}
|
|
69
|
-
return AdSize.
|
|
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
|
|
212
|
+
return GADLargeAnchoredAdaptiveBannerAdSizeWithWidth(viewWidth);
|
|
215
213
|
} else {
|
|
216
214
|
return GADAdSizeBanner;
|
|
217
215
|
}
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.0
|
|
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
|
|
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
|
|
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,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"sdkVersions": {
|
|
45
45
|
"ios": {
|
|
46
|
-
"googleMobileAds": "
|
|
46
|
+
"googleMobileAds": "13.1.0",
|
|
47
47
|
"googleUmp": "3.1.0"
|
|
48
48
|
},
|
|
49
49
|
"android": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"targetSdk": 34,
|
|
52
52
|
"compileSdk": 34,
|
|
53
53
|
"buildTools": "34.0.0",
|
|
54
|
-
"googleMobileAds": "
|
|
54
|
+
"googleMobileAds": "25.0.0",
|
|
55
55
|
"googleUmp": "4.0.0"
|
|
56
56
|
}
|
|
57
57
|
},
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '16.0
|
|
2
|
+
export const version = '16.1.0';
|