react-native-applovin-max 3.2.0 → 3.2.1
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/LICENSE
CHANGED
package/android/build.gradle
CHANGED
|
@@ -1722,6 +1722,7 @@ public class AppLovinMAXModule
|
|
|
1722
1722
|
adInfo.putString( "placement", !TextUtils.isEmpty( ad.getPlacement() ) ? ad.getPlacement() : "" );
|
|
1723
1723
|
adInfo.putDouble( "revenue", ad.getRevenue() );
|
|
1724
1724
|
adInfo.putMap( "waterfall", createAdWaterfallInfo( ad.getWaterfall() ) );
|
|
1725
|
+
adInfo.putString( "dspName", !TextUtils.isEmpty( ad.getDspName() ) ? ad.getDspName() : "" );
|
|
1725
1726
|
|
|
1726
1727
|
return adInfo;
|
|
1727
1728
|
}
|
package/ios/AppLovinMAX.m
CHANGED
|
@@ -1388,7 +1388,8 @@ RCT_EXPORT_METHOD(setRewardedAdExtraParameter:(NSString *)adUnitIdentifier :(NSS
|
|
|
1388
1388
|
@"networkName" : ad.networkName,
|
|
1389
1389
|
@"placement" : ad.placement ?: @"",
|
|
1390
1390
|
@"revenue" : @(ad.revenue),
|
|
1391
|
-
@"waterfall": [self createAdWaterfallInfo: ad.waterfall]
|
|
1391
|
+
@"waterfall": [self createAdWaterfallInfo: ad.waterfall],
|
|
1392
|
+
@"dspName" : ad.DSPName ?: @""};
|
|
1392
1393
|
}
|
|
1393
1394
|
|
|
1394
1395
|
#pragma mark - Waterfall Information
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-applovin-max",
|
|
3
3
|
"author": "AppLovin Corporation",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.1",
|
|
5
5
|
"description": "AppLovin MAX React Native Plugin for Android and iOS",
|
|
6
6
|
"homepage": "https://github.com/AppLovin/AppLovin-MAX-React-Native",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.authors = package["author"]
|
|
12
12
|
|
|
13
13
|
s.platforms = { :ios => "10.0" }
|
|
14
|
-
s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "
|
|
14
|
+
s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_3_2_1" }
|
|
15
15
|
|
|
16
16
|
s.source_files = "ios/AppLovinMAX*.{h,m}"
|
|
17
17
|
|
package/src/index.js
CHANGED