diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b78338..673fbf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Versions +## x.x.x + * Added "OnRewardedAdReceivedRewardEvent" listener. ## 1.1.5 * Depends on Android SDK [v12.3.1](https://github.com/AppLovin/AppLovin-MAX-SDK-Android/releases/tag/release_12_3_1) and iOS SDK [v12.3.1](https://github.com/AppLovin/AppLovin-MAX-SDK-iOS/releases/tag/release_12_3_1). ## 1.1.4 diff --git a/plugin/package.json b/plugin/package.json index 021d4d5..52b6e39 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-applovin-max", - "version": "1.1.5", + "version": "1.2.0", "description": "AppLovin MAX Cordova Plugin for Android and iOS", "cordova": { "id": "cordova-plugin-applovin-max", diff --git a/plugin/plugin.xml b/plugin/plugin.xml index d1041b0..001b5a4 100644 --- a/plugin/plugin.xml +++ b/plugin/plugin.xml @@ -1,5 +1,5 @@ - + AppLovin MAX AppLovin MAX Cordova Plugin MIT diff --git a/plugin/www/applovinmax.js b/plugin/www/applovinmax.js index 5881e8d..15f6145 100644 --- a/plugin/www/applovinmax.js +++ b/plugin/www/applovinmax.js @@ -366,6 +366,9 @@ window.addEventListener('OnRewardedAdDisplayedEvent', function (adInfo) { window.addEventListener('OnRewardedAdFailedToDisplayEvent', function (adInfo) { AppLovinMAX.isAdReadyValues[adInfo.adUnitId] = false; }); +window.addEventListener('OnRewardedAdReceivedRewardEvent', function (adInfo) { + AppLovinMAX.isAdReadyValues[adInfo.adUnitId] = false; +}); if (typeof module !== undefined && module.exports) { module.exports = AppLovinMAX;