diff --git a/.github/workflows/scripts/versionsAlignmentValidator.sh b/.github/workflows/scripts/versionsAlignmentValidator.sh
index eb25fdb4..06ff83a6 100755
--- a/.github/workflows/scripts/versionsAlignmentValidator.sh
+++ b/.github/workflows/scripts/versionsAlignmentValidator.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Plugin version from release branch
PLUGIN_VERSION=$1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1ca4c0f3..18e089c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+## 6.12.2
+ Release date: *2023-08-29*
+
+- Update Android native SDK 6.12.2
+- Update iOS native SDK 6.12.2
+
## 6.12.1
Release date: *2023-07-26*
diff --git a/README.md b/README.md
index 31ec5011..85f0cf65 100644
--- a/README.md
+++ b/README.md
@@ -12,8 +12,8 @@
### This plugin is built for
-- Android AppsFlyer SDK **v6.12.1**
-- iOS AppsFlyer SDK **v6.12.0**
+- Android AppsFlyer SDK **v6.12.2**
+- iOS AppsFlyer SDK **v6.12.2**
## ❗❗ Breaking changes when updating to v6.x.x❗❗
diff --git a/android/build.gradle b/android/build.gradle
index e3407838..2372c120 100755
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -54,5 +54,5 @@ repositories {
dependencies {
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.1')}"
- api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.12.1')}"
+ api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.12.2')}"
}
diff --git a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java
index cd027c83..eff5d9f1 100755
--- a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java
+++ b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java
@@ -6,7 +6,7 @@
public class RNAppsFlyerConstants {
- final static String PLUGIN_VERSION = "6.12.1";
+ final static String PLUGIN_VERSION = "6.12.2";
final static String NO_DEVKEY_FOUND = "No 'devKey' found or its empty";
final static String UNKNOWN_ERROR = "AF Unknown Error";
final static String SUCCESS = "Success";
diff --git a/ios/RNAppsFlyer.h b/ios/RNAppsFlyer.h
index 29e0a3ad..506499ce 100755
--- a/ios/RNAppsFlyer.h
+++ b/ios/RNAppsFlyer.h
@@ -22,7 +22,7 @@
@end
-static NSString *const kAppsFlyerPluginVersion = @"6.12.1";
+static NSString *const kAppsFlyerPluginVersion = @"6.12.2";
static NSString *const NO_DEVKEY_FOUND = @"No 'devKey' found or its empty";
static NSString *const NO_APPID_FOUND = @"No 'appId' found or its empty";
static NSString *const NO_EVENT_NAME_FOUND = @"No 'eventName' found or its empty";
diff --git a/package.json b/package.json
index c981facb..7813f911 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-appsflyer",
- "version": "6.12.1",
+ "version": "6.12.2",
"description": "React Native Appsflyer plugin",
"main": "index.js",
"types": "index.d.ts",
diff --git a/react-native-appsflyer.podspec b/react-native-appsflyer.podspec
index b742ca7e..7674b34e 100644
--- a/react-native-appsflyer.podspec
+++ b/react-native-appsflyer.podspec
@@ -18,13 +18,13 @@ Pod::Spec.new do |s|
# AppsFlyerFramework
if defined?($RNAppsFlyerStrictMode) && ($RNAppsFlyerStrictMode == true)
Pod::UI.puts "#{s.name}: Using AppsFlyerFramework/Strict mode"
- s.dependency 'AppsFlyerFramework/Strict', '6.12.0'
+ s.dependency 'AppsFlyerFramework/Strict', '6.12.2'
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AFSDK_NO_IDFA=1' }
else
if !defined?($RNAppsFlyerStrictMode)
Pod::UI.puts "#{s.name}: Using default AppsFlyerFramework. You may require App Tracking Transparency. Not allowed for Kids apps."
Pod::UI.puts "#{s.name}: You may set variable `$RNAppsFlyerStrictMode=true` in Podfile to use strict mode for kids apps."
end
- s.dependency 'AppsFlyerFramework', '6.12.0'
+ s.dependency 'AppsFlyerFramework', '6.12.2'
end
end