react-native-google-mobile-ads 16.2.2 → 16.2.3
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/docs/displaying-ads.mdx +2 -2
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsBannerComponent.m +1 -1
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsBannerView.mm +1 -1
- 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 +1 -1
- package/src/version.ts +1 -1
package/docs/displaying-ads.mdx
CHANGED
|
@@ -432,7 +432,7 @@ function App() {
|
|
|
432
432
|
});
|
|
433
433
|
|
|
434
434
|
return (
|
|
435
|
-
<BannerAd ref={bannerRef} unitId={adUnitId} size={BannerAdSize.
|
|
435
|
+
<BannerAd ref={bannerRef} unitId={adUnitId} size={BannerAdSize.LARGE_ANCHORED_ADAPTIVE_BANNER} />
|
|
436
436
|
);
|
|
437
437
|
}
|
|
438
438
|
```
|
|
@@ -479,7 +479,7 @@ function App() {
|
|
|
479
479
|
return (
|
|
480
480
|
<BannerAd
|
|
481
481
|
unitId={adUnitId}
|
|
482
|
-
size={BannerAdSize.
|
|
482
|
+
size={BannerAdSize.LARGE_ANCHORED_ADAPTIVE_BANNER}
|
|
483
483
|
requestOptions={{
|
|
484
484
|
networkExtras: {
|
|
485
485
|
collapsible: 'bottom',
|
|
@@ -265,7 +265,7 @@ using namespace facebook::react;
|
|
|
265
265
|
->onNativeEvent(facebook::react::RNGoogleMobileAdsBannerViewEventEmitter::OnNativeEvent{
|
|
266
266
|
.type = "onAppEvent",
|
|
267
267
|
.name = std::string([name UTF8String]),
|
|
268
|
-
.data = std::string([info UTF8String])});
|
|
268
|
+
.data = std::string(info ? [info UTF8String] : "")});
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.2.
|
|
1
|
+
export declare const SDK_VERSION = "16.2.3";
|
|
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.2.
|
|
1
|
+
export declare const version = "16.2.3";
|
|
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.2.
|
|
3
|
+
"version": "16.2.3",
|
|
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",
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '16.2.
|
|
2
|
+
export const version = '16.2.3';
|