From 71984a8d2896e0450bed9b9d64f44045692ba3fd Mon Sep 17 00:00:00 2001 From: Hiroshi <100324169+alhiwatan@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:01:04 +0900 Subject: [PATCH] 8.0.2 (#383) --- CHANGELOG.md | 2 +- android/build.gradle | 4 ++-- .../main/java/com/applovin/reactnative/AppLovinMAXModule.java | 1 + ios/AppLovinMAX.m | 1 + package.json | 2 +- react-native-applovin-max.podspec | 2 +- src/AppLovinMAX.ts | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3baa79ae..eb2a17aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## Versions -## x.x.x +## 8.0.2 * Crash if plugin version is incompatible with native SDK version. ## 8.0.1 * Fix CTA not clickable in native ads on Android. diff --git a/android/build.gradle b/android/build.gradle index b63bf7d8..2b9c1ba3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -53,8 +53,8 @@ android { minSdkVersion getExtOrIntegerDefault("minSdkVersion") targetSdkVersion getExtOrIntegerDefault("targetSdkVersion") - buildConfigField("int", "VERSION_CODE", "8000100") - buildConfigField("String", "VERSION_NAME", "\"8.0.1\"") + buildConfigField("int", "VERSION_CODE", "8000200") + buildConfigField("String", "VERSION_NAME", "\"8.0.2\"") } buildTypes { diff --git a/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java b/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java index d967b75a..6e0cb03b 100644 --- a/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java +++ b/android/src/main/java/com/applovin/reactnative/AppLovinMAXModule.java @@ -100,6 +100,7 @@ public class AppLovinMAXModule static { + ALCompatibleNativeSdkVersions.put( "8.0.2", "13.0.0" ); ALCompatibleNativeSdkVersions.put( "8.0.1", "13.0.0" ); ALCompatibleNativeSdkVersions.put( "8.0.0", "13.0.0" ); } diff --git a/ios/AppLovinMAX.m b/ios/AppLovinMAX.m index 285a011a..41cd001d 100644 --- a/ios/AppLovinMAX.m +++ b/ios/AppLovinMAX.m @@ -149,6 +149,7 @@ + (void)initialize [super initialize]; ALCompatibleNativeSDKVersions = @{ + @"8.0.2" : @"13.0.0", @"8.0.1" : @"13.0.0", @"8.0.0" : @"13.0.0" }; diff --git a/package.json b/package.json index 9c41afd2..1e73147b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-applovin-max", "author": "AppLovin Corporation (https://applovin.com)", - "version": "8.0.1", + "version": "8.0.2", "description": "AppLovin MAX React Native Plugin for Android and iOS", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native-applovin-max.podspec b/react-native-applovin-max.podspec index 55bef28e..e0ce967a 100644 --- a/react-native-applovin-max.podspec +++ b/react-native-applovin-max.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.authors = package["author"] s.platforms = { :ios => min_ios_version_supported } - s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_8_0_1" } + s.source = { :git => "https://github.com/AppLovin/AppLovin-MAX-React-Native.git", :tag => "release_8_0_2" } s.source_files = "ios/AppLovinMAX*.{h,m}" diff --git a/src/AppLovinMAX.ts b/src/AppLovinMAX.ts index 0dbbae5d..80c48f68 100644 --- a/src/AppLovinMAX.ts +++ b/src/AppLovinMAX.ts @@ -4,7 +4,7 @@ import type { Configuration } from './types/Configuration'; const NativeAppLovinMAX = NativeModules.AppLovinMAX; -const VERSION = '8.0.1'; +const VERSION = '8.0.2'; /** * This enum represents the user's geography used to determine the type of consent flow shown to the