react-native-google-mobile-ads 16.0.0 → 16.0.1

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.
@@ -30,7 +30,7 @@
30
30
  @property(nonatomic, copy) NSDictionary *sizeConfig;
31
31
  @property(nonatomic, copy) NSString *unitId;
32
32
  @property(nonatomic, copy) NSDictionary *request;
33
- @property(nonatomic, assign) BOOL manualImpressionsEnabled;
33
+ @property(nonatomic, copy) NSNumber *manualImpressionsEnabled;
34
34
  @property(nonatomic, assign) BOOL propsChanged;
35
35
 
36
36
  @property(nonatomic, copy) RCTBubblingEventBlock onNativeEvent;
@@ -51,7 +51,7 @@
51
51
 
52
52
  ((GAMBannerView *)_banner).validAdSizes = _sizeConfig[@"sizes"];
53
53
  ((GAMBannerView *)_banner).appEventDelegate = self;
54
- ((GAMBannerView *)_banner).enableManualImpressions = _manualImpressionsEnabled;
54
+ ((GAMBannerView *)_banner).enableManualImpressions = [_manualImpressionsEnabled boolValue];
55
55
  } else {
56
56
  _banner = [[GADBannerView alloc] initWithAdSize:adSize];
57
57
  }
@@ -97,8 +97,8 @@
97
97
  _propsChanged = true;
98
98
  }
99
99
 
100
- - (void)setManualImpressionsEnabled:(BOOL)manualImpressionsEnabled {
101
- _manualImpressionsEnabled = manualImpressionsEnabled;
100
+ - (void)setManualImpressionsEnabled:(BOOL *)manualImpressionsEnabled {
101
+ _manualImpressionsEnabled = [NSNumber numberWithBool:manualImpressionsEnabled];
102
102
  _propsChanged = true;
103
103
  }
104
104
 
@@ -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.0';
8
+ const version = exports.version = '16.0.1';
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.0';
4
+ export const version = '16.0.1';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "16.0.0";
1
+ export declare const SDK_VERSION = "16.0.1";
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.0";
1
+ export declare const version = "16.0.1";
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.0",
3
+ "version": "16.0.1",
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.0.0';
2
+ export const version = '16.0.1';