react-native-applovin-max 6.4.0 → 6.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.
@@ -35,8 +35,8 @@ android {
35
35
  defaultConfig {
36
36
  minSdkVersion 16
37
37
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
38
- versionCode 6040000
39
- versionName "6.4.0"
38
+ versionCode 6040100
39
+ versionName "6.4.1"
40
40
  }
41
41
 
42
42
  flavorDimensions("default")
@@ -140,5 +140,5 @@ dependencies {
140
140
  // noinspection GradleDynamicVersion
141
141
  api 'com.facebook.react:react-native:+'
142
142
 
143
- implementation 'com.applovin:applovin-sdk:12.4.0'
143
+ implementation 'com.applovin:applovin-sdk:12.4.2'
144
144
  }
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', '12.4.0'
38
+ pod 'AppLovinSDK', '12.4.1'
39
39
 
40
40
  end
package/ios/Podfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  PODS:
2
- - AppLovinSDK (12.4.0)
2
+ - AppLovinSDK (12.4.1)
3
3
  - boost-for-react-native (1.63.0)
4
4
  - DoubleConversion (1.1.6)
5
5
  - FBLazyVector (0.63.5)
@@ -249,7 +249,7 @@ PODS:
249
249
  - Yoga (1.14.0)
250
250
 
251
251
  DEPENDENCIES:
252
- - AppLovinSDK (= 12.4.0)
252
+ - AppLovinSDK (= 12.4.1)
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: 2bf8c7a5100d7a997a52c6f669d23644a853dc0c
342
+ AppLovinSDK: c57ad0d34625c971d2db127f8ef60570b28ff51a
343
343
  boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
344
344
  DoubleConversion: cde416483dac037923206447da6e1454df403714
345
345
  FBLazyVector: 352a8ca9bbc8e2f097d680747a8c97ecef12d469
@@ -368,6 +368,6 @@ SPEC CHECKSUMS:
368
368
  ReactCommon: b9ff54b6dd22ba4a776eda22d7f83ec27544ca35
369
369
  Yoga: 0276e9f20976c8568e107cfc1163a8629051adc0
370
370
 
371
- PODFILE CHECKSUM: 62b5804f10688875dcb55aab27adc7ae555df11e
371
+ PODFILE CHECKSUM: 743d3a03166e4ff89e660e87d59561305c1e0a2e
372
372
 
373
373
  COCOAPODS: 1.15.2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-applovin-max",
3
3
  "author": "AppLovin Corporation",
4
- "version": "6.4.0",
4
+ "version": "6.4.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,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_6_4_0" }
14
+ s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_6_4_1" }
15
15
 
16
16
  s.source_files = "ios/AppLovinMAX*.{h,m}"
17
17
 
18
18
  s.dependency "React"
19
- s.dependency "AppLovinSDK", "12.4.0"
19
+ s.dependency "AppLovinSDK", "12.4.1"
20
20
  end
package/src/AdView.tsx CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  findNodeHandle,
9
9
  useWindowDimensions,
10
10
  } from 'react-native';
11
- import type { ViewProps, ViewStyle, StyleProp, NativeMethods } from 'react-native';
11
+ import type { ViewProps, ViewStyle, StyleProp, NativeMethods, DimensionValue } from 'react-native';
12
12
  import type { AdDisplayFailedInfo, AdInfo, AdLoadFailedInfo, AdRevenueInfo } from './types/AdInfo';
13
13
  import type { AdNativeEvent } from './types/AdEvent';
14
14
  import type { AdViewProps, AdViewHandler } from './types/AdViewProps';
@@ -75,7 +75,7 @@ const AdViewComponent = requireNativeComponent<AdViewProps & ViewProps & AdViewN
75
75
  type AdViewType = React.Component<AdViewProps> & NativeMethods;
76
76
 
77
77
  type SizeKey = 'width' | 'height';
78
- type SizeRecord = Partial<Record<SizeKey, number | string>>;
78
+ type SizeRecord = Partial<Record<SizeKey, DimensionValue>>;
79
79
 
80
80
  const ADVIEW_SIZE = {
81
81
  banner: { width: 320, height: 50 },
@@ -173,6 +173,7 @@ export const AdView = forwardRef<AdViewHandler, AdViewProps & ViewProps>(functio
173
173
  if (adViewRef.current) {
174
174
  UIManager.dispatchViewManagerCommand(
175
175
  findNodeHandle(adViewRef.current),
176
+ // @ts-ignore: Issue in RN ts defs
176
177
  UIManager.getViewManagerConfig('AppLovinMAXAdView').Commands.loadAd,
177
178
  undefined
178
179
  );
@@ -4,7 +4,7 @@ import type { Configuration } from './types/Configuration';
4
4
 
5
5
  const NativeAppLovinMAX = NativeModules.AppLovinMAX;
6
6
 
7
- const VERSION = '6.4.0';
7
+ const VERSION = '6.4.1';
8
8
 
9
9
  /**
10
10
  * This enum represents the user's geography used to determine the type of consent flow shown to the
@@ -116,6 +116,7 @@ const NativeAdViewImpl = forwardRef<NativeAdViewHandler, NativeAdViewProps & Vie
116
116
  if (nativeAdViewRef) {
117
117
  UIManager.dispatchViewManagerCommand(
118
118
  findNodeHandle(nativeAdViewRef.current),
119
+ // @ts-ignore: Issue in RN ts defs
119
120
  UIManager.getViewManagerConfig('AppLovinMAXNativeAdView').Commands.loadAd,
120
121
  undefined
121
122
  );