react-native-applovin-max 9.3.1 → 9.4.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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  AppLovin MAX React Native Module for Android and iOS.
4
4
 
5
5
  ## Documentation
6
- Check out our integration docs [here](https://developers.applovin.com/en/react-native/overview/integration).
6
+ Check out our integration docs [here](https://support.axon.ai/en/max/react-native/overview/integration).
7
7
 
8
8
  ## Demo Apps
9
9
  The `/example` directory contains the demo app. Gradle and CocoaPods automatically pulls in the React Native module for easier debugging.
@@ -53,7 +53,7 @@ android {
53
53
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
54
54
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
55
55
 
56
- buildConfigField("String", "VERSION_NAME", "\"9.3.1\"")
56
+ buildConfigField("String", "VERSION_NAME", "\"9.4.1\"")
57
57
  buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
58
58
  }
59
59
 
@@ -95,6 +95,6 @@ dependencies {
95
95
  //noinspection GradleDynamicVersion
96
96
  implementation "com.facebook.react:react-native:0.75.4"
97
97
 
98
- implementation "com.applovin:applovin-sdk:13.4.0"
98
+ implementation "com.applovin:applovin-sdk:13.5.1"
99
99
  }
100
100
 
@@ -79,7 +79,7 @@ public class AppLovinMAXModuleImpl
79
79
  {
80
80
  private static final String SDK_TAG = "AppLovinSdk";
81
81
  private static final String TAG = "AppLovinMAXModule";
82
- private static final String PLUGIN_VERSION = "9.3.1";
82
+ private static final String PLUGIN_VERSION = "9.4.1";
83
83
 
84
84
  private static final String USER_GEOGRAPHY_GDPR = "G";
85
85
  private static final String USER_GEOGRAPHY_OTHER = "O";
@@ -101,6 +101,8 @@ public class AppLovinMAXModuleImpl
101
101
 
102
102
  static
103
103
  {
104
+ ALCompatibleNativeSdkVersions.put( "9.4.1", "13.5.1" );
105
+ ALCompatibleNativeSdkVersions.put( "9.4.0", "13.5.0" );
104
106
  ALCompatibleNativeSdkVersions.put( "9.3.1", "13.4.0" );
105
107
  ALCompatibleNativeSdkVersions.put( "9.3.0", "13.4.0" );
106
108
  ALCompatibleNativeSdkVersions.put( "9.2.1", "13.3.1" );
@@ -73,7 +73,7 @@
73
73
  @implementation AppLovinMAX
74
74
  static NSString *const SDK_TAG = @"AppLovinSdk";
75
75
  static NSString *const TAG = @"AppLovinMAX";
76
- static NSString *const PLUGIN_VERSION = @"9.3.1";
76
+ static NSString *const PLUGIN_VERSION = @"9.4.1";
77
77
 
78
78
  static NSString *const USER_GEOGRAPHY_GDPR = @"G";
79
79
  static NSString *const USER_GEOGRAPHY_OTHER = @"O";
@@ -149,6 +149,8 @@ RCT_EXPORT_MODULE()
149
149
  [super initialize];
150
150
 
151
151
  ALCompatibleNativeSDKVersions = @{
152
+ @"9.4.1" : @"13.5.1",
153
+ @"9.4.0" : @"13.5.0",
152
154
  @"9.3.1" : @"13.4.0",
153
155
  @"9.3.0" : @"13.4.0",
154
156
  @"9.2.1" : @"13.3.1",
@@ -719,17 +719,6 @@ static NSMutableDictionary<NSNumber *, AppLovinMAXAdViewUIComponent *> *preloade
719
719
  self.uiComponent = nil;
720
720
  }
721
721
 
722
- - (void)didMoveToWindow
723
- {
724
- [super didMoveToWindow];
725
-
726
- // This view is unmounted
727
- if ( !self.window )
728
- {
729
- [self destroyCurrentAdIfNeeded];
730
- }
731
- }
732
-
733
722
  @end
734
723
 
735
724
  #ifdef RCT_NEW_ARCH_ENABLED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = exports.ConsentFlowUserGeography = exports.CMPErrorCode = exports.AppTrackingStatus = exports.AppLovinMAX = void 0;
7
7
  var _NativeAppLovinMAXModule = _interopRequireDefault(require("./specs/NativeAppLovinMAXModule"));
8
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const VERSION = '9.3.1';
9
+ const VERSION = '9.4.1';
10
10
 
11
11
  /**
12
12
  * Represents the user's geography, used to determine which type of consent flow to display.
@@ -1,5 +1,5 @@
1
1
  import NativeAppLovinMAX from './specs/NativeAppLovinMAXModule';
2
- const VERSION = '9.3.1';
2
+ const VERSION = '9.4.1';
3
3
 
4
4
  /**
5
5
  * Represents the user's geography, used to determine which type of consent flow to display.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-applovin-max",
3
3
  "author": "AppLovin Corporation <support@applovin.com> (https://applovin.com)",
4
- "version": "9.3.1",
4
+ "version": "9.4.1",
5
5
  "description": "AppLovin MAX React Native Plugin for Android and iOS",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",
@@ -11,11 +11,11 @@ Pod::Spec.new do |s|
11
11
  s.authors = package["author"]
12
12
 
13
13
  s.platforms = { :ios => min_ios_version_supported }
14
- s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_9_3_1" }
14
+ s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_9_4_1" }
15
15
 
16
16
  s.source_files = "ios/AppLovinMAX*.{h,mm}"
17
17
 
18
- s.dependency "AppLovinSDK", "13.4.0"
18
+ s.dependency "AppLovinSDK", "13.5.1"
19
19
 
20
20
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21
21
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
@@ -2,7 +2,7 @@ import type { AppLovinMAXType } from './types/AppLovinMAX';
2
2
  import type { Configuration } from './types/Configuration';
3
3
  import NativeAppLovinMAX from './specs/NativeAppLovinMAXModule';
4
4
 
5
- const VERSION = '9.3.1';
5
+ const VERSION = '9.4.1';
6
6
 
7
7
  /**
8
8
  * Represents the user's geography, used to determine which type of consent flow to display.