react-native-applovin-max 5.7.0 → 5.7.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.
@@ -35,8 +35,8 @@ android {
35
35
  defaultConfig {
36
36
  minSdkVersion 16
37
37
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
38
- versionCode 5070000
39
- versionName "5.7.0"
38
+ versionCode 5070100
39
+ versionName "5.7.1"
40
40
  }
41
41
 
42
42
  flavorDimensions("default")
@@ -2446,7 +2446,7 @@ public class AppLovinMAXModule
2446
2446
  {
2447
2447
  errInfo.putInt( "code", error.getCode() );
2448
2448
  errInfo.putString( "message", error.getMessage() );
2449
- errInfo.putString( "mediatedNetworkErrorCode", error.getMediatedNetworkErrorCode() );
2449
+ errInfo.putInt( "mediatedNetworkErrorCode", error.getMediatedNetworkErrorCode() );
2450
2450
  errInfo.putString( "mediatedNetworkErrorMessage", error.getMediatedNetworkErrorMessage() );
2451
2451
  errInfo.putString( "adLoadFailureInfo", error.getAdLoadFailureInfo() );
2452
2452
  errInfo.putMap( "waterfall", createAdWaterfallInfo( error.getWaterfall() ) );
@@ -2464,7 +2464,7 @@ public class AppLovinMAXModule
2464
2464
  WritableMap info = getAdInfo( ad );
2465
2465
  info.putInt( "code", error.getCode() );
2466
2466
  info.putString( "message", error.getMessage() );
2467
- info.putString( "mediatedNetworkErrorCode", error.getMediatedNetworkErrorCode() );
2467
+ info.putInt( "mediatedNetworkErrorCode", error.getMediatedNetworkErrorCode() );
2468
2468
  info.putString( "mediatedNetworkErrorMessage", error.getMediatedNetworkErrorMessage() );
2469
2469
  return info;
2470
2470
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-applovin-max",
3
3
  "author": "AppLovin Corporation",
4
- "version": "5.7.0",
4
+ "version": "5.7.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 => "release_5_7_0" }
14
+ s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_5_7_1" }
15
15
 
16
16
  s.source_files = "ios/AppLovinMAX*.{h,m}"
17
17
 
package/src/index.js CHANGED
@@ -6,7 +6,7 @@ import EventListeners from "./AppLovinMAXEventListeners";
6
6
 
7
7
  const { AppLovinMAX } = NativeModules;
8
8
 
9
- const VERSION = "5.7.0";
9
+ const VERSION = "5.7.1";
10
10
 
11
11
  /*---------*/
12
12
  /* BANNERS */