react-native-google-mobile-ads 15.5.0 → 15.6.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/ios/RNGoogleMobileAds/RNGoogleMobileAdsBannerViewManager.mm +3 -7
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsMediaView.h +2 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsMediaView.mm +4 -3
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeView.h +2 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeView.mm +4 -2
- 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 +10 -3
- package/src/version.ts +1 -1
|
@@ -16,13 +16,11 @@
|
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
#ifndef RCT_NEW_ARCH_ENABLED
|
|
19
20
|
#import <React/RCTUIManager.h>
|
|
20
21
|
#import <React/RCTViewManager.h>
|
|
21
|
-
#ifdef RCT_NEW_ARCH_ENABLE
|
|
22
22
|
|
|
23
|
-
#else
|
|
24
23
|
#import "RNGoogleMobileAdsBannerComponent.h"
|
|
25
|
-
#endif
|
|
26
24
|
|
|
27
25
|
@interface RNGoogleMobileAdsBannerViewManager : RCTViewManager
|
|
28
26
|
@end
|
|
@@ -69,9 +67,6 @@ RCT_EXPORT_METHOD(load : (nonnull NSNumber *)reactTag) {
|
|
|
69
67
|
#endif
|
|
70
68
|
}
|
|
71
69
|
|
|
72
|
-
#ifdef RCT_NEW_ARCH_ENABLE
|
|
73
|
-
|
|
74
|
-
#else
|
|
75
70
|
@synthesize bridge = _bridge;
|
|
76
71
|
|
|
77
72
|
- (UIView *)view {
|
|
@@ -86,6 +81,7 @@ RCT_EXPORT_METHOD(load : (nonnull NSNumber *)reactTag) {
|
|
|
86
81
|
- (dispatch_queue_t)methodQueue {
|
|
87
82
|
return dispatch_get_main_queue();
|
|
88
83
|
}
|
|
89
|
-
#endif
|
|
90
84
|
|
|
91
85
|
@end
|
|
86
|
+
|
|
87
|
+
#endif
|
|
@@ -129,22 +129,23 @@ using namespace facebook::react;
|
|
|
129
129
|
|
|
130
130
|
@end
|
|
131
131
|
|
|
132
|
+
#ifndef RCT_NEW_ARCH_ENABLED
|
|
133
|
+
|
|
132
134
|
@implementation RNGoogleMobileAdsMediaViewManager
|
|
133
135
|
|
|
134
136
|
RCT_EXPORT_MODULE(RNGoogleMobileAdsMediaView)
|
|
135
137
|
|
|
136
138
|
RCT_EXPORT_VIEW_PROPERTY(responseId, NSString)
|
|
137
|
-
|
|
138
139
|
RCT_EXPORT_VIEW_PROPERTY(resizeMode, NSString)
|
|
139
140
|
|
|
140
|
-
#ifndef RCT_NEW_ARCH_ENABLED
|
|
141
141
|
- (UIView *)view {
|
|
142
142
|
return [[RNGoogleMobileAdsMediaView alloc] initWithBridge:self.bridge];
|
|
143
143
|
}
|
|
144
|
-
#endif
|
|
145
144
|
|
|
146
145
|
@end
|
|
147
146
|
|
|
147
|
+
#endif
|
|
148
|
+
|
|
148
149
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
149
150
|
Class<RCTComponentViewProtocol> RNGoogleMobileAdsMediaViewCls(void) {
|
|
150
151
|
return RNGoogleMobileAdsMediaView.class;
|
|
@@ -187,13 +187,14 @@ using namespace facebook::react;
|
|
|
187
187
|
|
|
188
188
|
@end
|
|
189
189
|
|
|
190
|
+
#ifndef RCT_NEW_ARCH_ENABLED
|
|
191
|
+
|
|
190
192
|
@implementation RNGoogleMobileAdsNativeViewManager
|
|
191
193
|
|
|
192
194
|
RCT_EXPORT_MODULE(RNGoogleMobileAdsNativeView)
|
|
193
195
|
|
|
194
196
|
RCT_EXPORT_VIEW_PROPERTY(responseId, NSString)
|
|
195
197
|
|
|
196
|
-
#ifndef RCT_NEW_ARCH_ENABLED
|
|
197
198
|
- (UIView *)view {
|
|
198
199
|
return [[RNGoogleMobileAdsNativeView alloc] initWithBridge:self.bridge];
|
|
199
200
|
}
|
|
@@ -212,10 +213,11 @@ RCT_EXPORT_METHOD(registerAsset
|
|
|
212
213
|
[view registerAsset:assetType reactTag:assetReactTag.intValue];
|
|
213
214
|
}];
|
|
214
215
|
}
|
|
215
|
-
#endif
|
|
216
216
|
|
|
217
217
|
@end
|
|
218
218
|
|
|
219
|
+
#endif
|
|
220
|
+
|
|
219
221
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
220
222
|
Class<RCTComponentViewProtocol> RNGoogleMobileAdsNativeViewCls(void) {
|
|
221
223
|
return RNGoogleMobileAdsNativeView.class;
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "15.
|
|
1
|
+
export declare const SDK_VERSION = "15.6.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 = "15.
|
|
1
|
+
export declare const version = "15.6.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": "15.
|
|
3
|
+
"version": "15.6.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": "12.
|
|
46
|
+
"googleMobileAds": "12.9.0",
|
|
47
47
|
"googleUmp": "3.0.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": "24.
|
|
54
|
+
"googleMobileAds": "24.5.0",
|
|
55
55
|
"googleUmp": "3.2.0"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -169,6 +169,13 @@
|
|
|
169
169
|
"name": "RNGoogleMobileAdsSpec",
|
|
170
170
|
"type": "all",
|
|
171
171
|
"jsSrcsDir": "./src/specs",
|
|
172
|
+
"ios": {
|
|
173
|
+
"componentProvider": {
|
|
174
|
+
"RNGoogleMobileAdsBannerView": "RNGoogleMobileAdsBannerView",
|
|
175
|
+
"RNGoogleMobileAdsNativeView": "RNGoogleMobileAdsNativeView",
|
|
176
|
+
"RNGoogleMobileAdsMediaView": "RNGoogleMobileAdsMediaView"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
172
179
|
"android": {
|
|
173
180
|
"javaPackageName": "io.invertase.googlemobileads"
|
|
174
181
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '15.
|
|
2
|
+
export const version = '15.6.0';
|