react-native-applovin-max 4.1.4 → 4.1.5

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.
@@ -41,8 +41,8 @@ android {
41
41
  defaultConfig {
42
42
  minSdkVersion 16
43
43
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
44
- versionCode 4010400
45
- versionName "4.1.4"
44
+ versionCode 4010500
45
+ versionName "4.1.5"
46
46
  }
47
47
 
48
48
  flavorDimensions("default")
@@ -150,5 +150,5 @@ dependencies {
150
150
 
151
151
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
152
152
 
153
- implementation 'com.applovin:applovin-sdk:11.6.0'
153
+ implementation 'com.applovin:applovin-sdk:11.7.0'
154
154
  }
package/ios/Podfile CHANGED
@@ -35,6 +35,6 @@ target 'AppLovinMAX' do
35
35
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
36
36
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
37
37
 
38
- pod 'AppLovinSDK', '11.6.0'
38
+ pod 'AppLovinSDK', '11.7.0'
39
39
 
40
40
  end
package/ios/Podfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  PODS:
2
- - AppLovinSDK (11.6.0)
2
+ - AppLovinSDK (11.7.0)
3
3
  - boost-for-react-native (1.63.0)
4
4
  - DoubleConversion (1.1.6)
5
5
  - FBLazyVector (0.63.4)
@@ -249,7 +249,7 @@ PODS:
249
249
  - Yoga (1.14.0)
250
250
 
251
251
  DEPENDENCIES:
252
- - AppLovinSDK (= 11.6.0)
252
+ - AppLovinSDK (= 11.7.0)
253
253
  - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
254
254
  - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
255
255
  - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
@@ -339,7 +339,7 @@ EXTERNAL SOURCES:
339
339
  :path: "../node_modules/react-native/ReactCommon/yoga"
340
340
 
341
341
  SPEC CHECKSUMS:
342
- AppLovinSDK: cdd2a1a6401e1f8076ca247bbd5f49e7f64e0a77
342
+ AppLovinSDK: 14f62baf5a803337307e20fa553609fa123bc07e
343
343
  boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
344
344
  DoubleConversion: cde416483dac037923206447da6e1454df403714
345
345
  FBLazyVector: 3bb422f41b18121b71783a905c10e58606f7dc3e
@@ -368,6 +368,6 @@ SPEC CHECKSUMS:
368
368
  ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
369
369
  Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
370
370
 
371
- PODFILE CHECKSUM: 57a045cb94c23cb6c925c2da52cf258edc0128d1
371
+ PODFILE CHECKSUM: 33c873007fea364a8fc1c82bfb51810910a1bb4b
372
372
 
373
373
  COCOAPODS: 1.11.3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-applovin-max",
3
3
  "author": "AppLovin Corporation",
4
- "version": "4.1.4",
4
+ "version": "4.1.5",
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,10 +11,10 @@ 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_4_1_4" }
14
+ s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_4_1_5" }
15
15
 
16
16
  s.source_files = "ios/AppLovinMAX*.{h,m}"
17
17
 
18
18
  s.dependency "React"
19
- s.dependency "AppLovinSDK", "11.6.0"
19
+ s.dependency "AppLovinSDK", "11.7.0"
20
20
  end
package/src/index.js CHANGED
@@ -5,7 +5,7 @@ import NativeAdView from "./NativeAdView";
5
5
 
6
6
  const { AppLovinMAX } = NativeModules;
7
7
 
8
- const VERSION = "4.1.4";
8
+ const VERSION = "4.1.5";
9
9
 
10
10
  /**
11
11
  * This enum represents whether or not the consent dialog should be shown for this user.
@@ -402,6 +402,11 @@ const setAppOpenAdExtraParameter = (adUnitId, key, value) => {
402
402
  AppLovinMAX.setAppOpenAdExtraParameter(adUnitId, key, value);
403
403
  }
404
404
 
405
+ const getConsentDialogState = () => {
406
+ console.warn("getConsentDialogState() has been deprecated and will be removed in a future release.");
407
+ return AppLovinMAX.getConsentDialogState();
408
+ };
409
+
405
410
  export default {
406
411
  ...AppLovinMAX,
407
412
  AdView,
@@ -477,6 +482,11 @@ export default {
477
482
  showAppOpenAd,
478
483
  setAppOpenAdExtraParameter,
479
484
 
485
+ /*--------------------------------------------------*/
486
+ /* DEPRECATED (will be removed in a future release) */
487
+ /*--------------------------------------------------*/
488
+ getConsentDialogState,
489
+
480
490
  /*----------------------*/
481
491
  /** AUTO-DECLARED APIs **/
482
492
  /*----------------------*/
@@ -491,7 +501,6 @@ export default {
491
501
  /* PRIVACY APIs */
492
502
  /*--------------*/
493
503
  /* showConsentDialog(callback) */
494
- /* getConsentDialogState() */
495
504
  /* setHasUserConsent(hasUserConsent) */
496
505
  /* hasUserConsent() */
497
506
  /* setIsAgeRestrictedUser(isAgeRestrictedUser) */