react-native-google-mobile-ads 12.1.2 → 12.3.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/docs/index.mdx +19 -4
- 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/docs/index.mdx
CHANGED
|
@@ -107,14 +107,30 @@ npx react-native run-ios
|
|
|
107
107
|
|
|
108
108
|
# For Android
|
|
109
109
|
npx react-native run-android
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
> ⚠️ This module contains custom native code which is NOT supported by Expo Go
|
|
113
|
+
|
|
114
|
+
If you're using Expo without EAS, run the following commands:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# For iOS
|
|
118
|
+
npx expo prebuild
|
|
119
|
+
npx expo run:ios
|
|
110
120
|
|
|
111
|
-
# For
|
|
121
|
+
# For Android
|
|
112
122
|
npx expo prebuild
|
|
123
|
+
npx expo run:android
|
|
124
|
+
```
|
|
113
125
|
|
|
114
|
-
|
|
126
|
+
If you're using Expo with EAS, create a new build:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
115
129
|
npx eas-cli build --profile development
|
|
116
130
|
```
|
|
117
131
|
|
|
132
|
+
Don't forget to install the new build on your device!
|
|
133
|
+
|
|
118
134
|
### Configure outbound requests
|
|
119
135
|
|
|
120
136
|
If the default ad settings are not correct for your app, you can provide settings that will apply to all ad requests.
|
|
@@ -172,7 +188,7 @@ If you are using mediation, you may wish to wait until the promise is settled be
|
|
|
172
188
|
### Enable SKAdNetwork to track conversions (iOS)
|
|
173
189
|
|
|
174
190
|
The Google Mobile Ads SDK supports conversion tracking using Apple's SKAdNetwork, which lets Google and participating third-party buyers attribute an app install even when the IDFA is not available.
|
|
175
|
-
Within your projects `app.json` file, add the
|
|
191
|
+
Within your projects `app.json` file, add the advised [SKAdNetwork identifiers](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/3p-skadnetworks):
|
|
176
192
|
|
|
177
193
|
```json
|
|
178
194
|
{
|
|
@@ -196,7 +212,6 @@ Within your projects `app.json` file, add the 50 required SKAdNetwork identifier
|
|
|
196
212
|
"3sh42y64q3.skadnetwork",
|
|
197
213
|
"f38h382jlk.skadnetwork",
|
|
198
214
|
"hs6bdukanm.skadnetwork",
|
|
199
|
-
"prcb7njmu6.skadnetwork",
|
|
200
215
|
"v4nxqhlyqp.skadnetwork",
|
|
201
216
|
"wzmmz9fp6w.skadnetwork",
|
|
202
217
|
"yclnxrl5pm.skadnetwork",
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "12.
|
|
1
|
+
export declare const SDK_VERSION = "12.3.0";
|
|
2
2
|
export { default, MobileAds } from './MobileAds';
|
|
3
3
|
export { AdsConsentDebugGeography } from './AdsConsentDebugGeography';
|
|
4
4
|
export { AdsConsentPurposes } from './AdsConsentPurposes';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "12.
|
|
1
|
+
export declare const version = "12.3.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": "12.
|
|
3
|
+
"version": "12.3.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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"sdkVersions": {
|
|
43
43
|
"ios": {
|
|
44
|
-
"googleMobileAds": "10.
|
|
44
|
+
"googleMobileAds": "10.12.0",
|
|
45
45
|
"googleUmp": "2.1.0"
|
|
46
46
|
},
|
|
47
47
|
"android": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"targetSdk": 30,
|
|
50
50
|
"compileSdk": 31,
|
|
51
51
|
"buildTools": "31.0.0",
|
|
52
|
-
"googleMobileAds": "22.
|
|
52
|
+
"googleMobileAds": "22.4.0",
|
|
53
53
|
"googleUmp": "2.1.0"
|
|
54
54
|
}
|
|
55
55
|
},
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '12.
|
|
2
|
+
export const version = '12.3.0';
|