diff --git a/.changeset/fix-pangle-ssv-media-extra.md b/.changeset/fix-pangle-ssv-media-extra.md deleted file mode 100644 index c5fccc5..0000000 --- a/.changeset/fix-pangle-ssv-media-extra.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@react-native-ads/pangle": patch -"@react-native-ads/levelplay": patch ---- - -Fix Pangle rewarded ad SSV verification: the Pangle SDK only reads the `media_extra` key from `PAGRewardedRequest.extraInfo` (confirmed with Pangle support) — the previous `userId`/`customData` keys and the `PAGConfig.setUserData`/`userDataString` call were silently ignored, so the SSV callback's `user_id` always stayed `"defaultUser"`. `userId` (falling back to `customData`) is now sent as `media_extra`. - -Also fix both packages' `exports` map to allow resolving `./app.plugin.js`, which Expo's config-plugin resolver needs — without it, `expo prebuild` failed with `PluginError: Unable to resolve a valid config plugin`. diff --git a/packages/levelplay/CHANGELOG.md b/packages/levelplay/CHANGELOG.md index 3fa5ef9..fdd70df 100644 --- a/packages/levelplay/CHANGELOG.md +++ b/packages/levelplay/CHANGELOG.md @@ -1,5 +1,13 @@ # @react-native-ads/levelplay +## 0.2.2 + +### Patch Changes + +- [`b5b6367`](https://github.com/exzos28/react-native-ads/commit/b5b636783d3d063680639b988a7902abc3531705) Thanks [@exzos28](https://github.com/exzos28)! - Fix Pangle rewarded ad SSV verification: the Pangle SDK only reads the `media_extra` key from `PAGRewardedRequest.extraInfo` (confirmed with Pangle support) — the previous `userId`/`customData` keys and the `PAGConfig.setUserData`/`userDataString` call were silently ignored, so the SSV callback's `user_id` always stayed `"defaultUser"`. `userId` (falling back to `customData`) is now sent as `media_extra`. + + Also fix both packages' `exports` map to allow resolving `./app.plugin.js`, which Expo's config-plugin resolver needs — without it, `expo prebuild` failed with `PluginError: Unable to resolve a valid config plugin`. + ## 0.2.1 ### Patch Changes diff --git a/packages/levelplay/package.json b/packages/levelplay/package.json index e3bfb44..b175ab6 100644 --- a/packages/levelplay/package.json +++ b/packages/levelplay/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-ads/levelplay", - "version": "0.2.1", + "version": "0.2.2", "description": "Nitro Modules bridge for the LevelPlay (ironSource) mediation SDK", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", diff --git a/packages/pangle/CHANGELOG.md b/packages/pangle/CHANGELOG.md new file mode 100644 index 0000000..8de52da --- /dev/null +++ b/packages/pangle/CHANGELOG.md @@ -0,0 +1,9 @@ +# @react-native-ads/pangle + +## 0.2.1 + +### Patch Changes + +- [`b5b6367`](https://github.com/exzos28/react-native-ads/commit/b5b636783d3d063680639b988a7902abc3531705) Thanks [@exzos28](https://github.com/exzos28)! - Fix Pangle rewarded ad SSV verification: the Pangle SDK only reads the `media_extra` key from `PAGRewardedRequest.extraInfo` (confirmed with Pangle support) — the previous `userId`/`customData` keys and the `PAGConfig.setUserData`/`userDataString` call were silently ignored, so the SSV callback's `user_id` always stayed `"defaultUser"`. `userId` (falling back to `customData`) is now sent as `media_extra`. + + Also fix both packages' `exports` map to allow resolving `./app.plugin.js`, which Expo's config-plugin resolver needs — without it, `expo prebuild` failed with `PluginError: Unable to resolve a valid config plugin`. diff --git a/packages/pangle/package.json b/packages/pangle/package.json index 457af06..5bd751d 100644 --- a/packages/pangle/package.json +++ b/packages/pangle/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-ads/pangle", - "version": "0.2.0", + "version": "0.2.1", "description": "Nitro Modules bridge for the Pangle Ads SDK", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts",