@react-native-google-mobile-ads/pangle 17.1.0 → 17.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/README.md +20 -14
- package/android/build.gradle +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,26 +25,23 @@ maven {
|
|
|
25
25
|
|
|
26
26
|
## Native adapter class names (GAM / AdMob UI)
|
|
27
27
|
|
|
28
|
-
| Platform | Class name
|
|
29
|
-
| -------- |
|
|
30
|
-
| Android
|
|
31
|
-
| iOS
|
|
28
|
+
| Platform | Class name |
|
|
29
|
+
| -------- | -------------------------------------------------------- |
|
|
30
|
+
| Android | `com.google.ads.mediation.pangle.PangleMediationAdapter` |
|
|
31
|
+
| iOS | `GADMediationAdapterPangle` |
|
|
32
32
|
|
|
33
33
|
Also exported from JS:
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
|
-
import {
|
|
37
|
-
nativeAdapterClassName,
|
|
38
|
-
networkSlug,
|
|
39
|
-
} from '@react-native-google-mobile-ads/pangle';
|
|
36
|
+
import { nativeAdapterClassName, networkSlug } from '@react-native-google-mobile-ads/pangle';
|
|
40
37
|
```
|
|
41
38
|
|
|
42
39
|
## Mediation dependencies (pinned in this package)
|
|
43
40
|
|
|
44
|
-
| Platform | Coordinate
|
|
45
|
-
| -------- |
|
|
46
|
-
| Android
|
|
47
|
-
| iOS
|
|
41
|
+
| Platform | Coordinate | Version pin |
|
|
42
|
+
| -------- | ------------------------------------------ | ----------- |
|
|
43
|
+
| Android | `com.google.ads.mediation:pangle` | `8.3.0.4.0` |
|
|
44
|
+
| iOS | CocoaPods `GoogleMobileAdsMediationPangle` | `8.3.0.8.0` |
|
|
48
45
|
|
|
49
46
|
Citations (verify at upgrade time):
|
|
50
47
|
|
|
@@ -66,15 +63,24 @@ Platform floors align with core: iOS **15.1** and Android minSdk **24**.
|
|
|
66
63
|
'@react-native-google-mobile-ads/pangle',
|
|
67
64
|
{
|
|
68
65
|
// Pass Pangle SKAdNetwork IDs from Pangle’s current docs
|
|
69
|
-
skAdNetworkItems: [
|
|
66
|
+
skAdNetworkItems: [
|
|
67
|
+
/* ... */
|
|
68
|
+
],
|
|
70
69
|
},
|
|
71
|
-
]
|
|
70
|
+
];
|
|
72
71
|
```
|
|
73
72
|
|
|
74
73
|
App IDs stay in the core Expo plugin.
|
|
75
74
|
|
|
75
|
+
## Lifecycle
|
|
76
|
+
|
|
77
|
+
This package does **not** add JS ad APIs. Use core fullscreen / native / multi-format / pool `destroy()` (and hook ownership rules) when you finish with inventory — see the core [Migrating to v17](https://docs.page/invertase/react-native-google-mobile-ads/migrating-to-v17) lifecycle section and [Mediation — Pangle](https://docs.page/invertase/react-native-google-mobile-ads/mediation#pangle-bytedance).
|
|
78
|
+
|
|
79
|
+
Do **not** dual-host Pangle by linking `Ads-Global` (or another direct Pangle React Native module) **and** this mediation adapter / Google Mobile Ads in the same app unless you intentionally own that stack. iOS Auto Layout conflicts inside video creatives (`UIButton` trailing vs `UIImageView`) are upstream creative / SDK layout, not a missing destroy method on this adapter.
|
|
80
|
+
|
|
76
81
|
## Out of scope
|
|
77
82
|
|
|
78
83
|
- AppLovin MAX host SDK
|
|
79
84
|
- CloudX / other non-GAM hosts
|
|
80
85
|
- Fyber/DT Exchange (no Google GAM adapter — do not invent)
|
|
86
|
+
- Direct Pangle (ByteDance) SDK hosting or a second JS destroy API beyond core
|
package/android/build.gradle
CHANGED
|
@@ -67,7 +67,7 @@ repositories {
|
|
|
67
67
|
|
|
68
68
|
dependencies {
|
|
69
69
|
// Google-published Pangle GAM mediation adapter.
|
|
70
|
-
// Pin: package.json sdkVersions.android.googleMobileAdsMediation (docs: 8.
|
|
70
|
+
// Pin: package.json sdkVersions.android.googleMobileAdsMediation (docs: 8.3.0.4.0 as of package publish; verify against current docs/Maven).
|
|
71
71
|
// Core GMA is provided by react-native-google-mobile-ads; do not re-pin it here.
|
|
72
72
|
// https://developers.google.com/ad-manager/mobile-ads-sdk/android/mediation/pangle
|
|
73
73
|
api(mediationArtifact) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-google-mobile-ads/pangle",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
4
4
|
"description": "Pangle (ByteDance) Google Mobile Ads (GAM) mediation adapter for react-native-google-mobile-ads. Links the official Google mediation adapter on Android and iOS; does not add JS ad APIs.",
|
|
5
5
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
},
|
|
70
70
|
"sdkVersions": {
|
|
71
71
|
"ios": {
|
|
72
|
-
"googleMobileAdsMediation": "8.
|
|
72
|
+
"googleMobileAdsMediation": "8.3.0.8.0"
|
|
73
73
|
},
|
|
74
74
|
"android": {
|
|
75
75
|
"minSdk": 24,
|
|
76
76
|
"targetSdk": 36,
|
|
77
77
|
"compileSdk": 36,
|
|
78
78
|
"buildTools": "36.0.0",
|
|
79
|
-
"googleMobileAdsMediation": "8.
|
|
79
|
+
"googleMobileAdsMediation": "8.3.0.4.0"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"react-native-builder-bob": {
|
|
@@ -122,9 +122,9 @@
|
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@expo/config-plugins": "^54.0.4",
|
|
124
124
|
"react-native-builder-bob": "^0.40.13",
|
|
125
|
-
"react-native-google-mobile-ads": "17.
|
|
125
|
+
"react-native-google-mobile-ads": "17.3.0",
|
|
126
126
|
"rimraf": "^6.0.1",
|
|
127
127
|
"typescript": "^5.9.3"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "84973e83de32daede263f2add5fbf07df5b22df4"
|
|
130
130
|
}
|