diff --git a/.github/workflows/deploy-to-QA.yml b/.github/workflows/deploy-to-QA.yml
index 4ed8112f..b68085ac 100644
--- a/.github/workflows/deploy-to-QA.yml
+++ b/.github/workflows/deploy-to-QA.yml
@@ -33,11 +33,11 @@ jobs:
run: |
plugin_rc_version=$(echo "${{github.ref_name}}" | grep -Eo '[0-9].[0-9]+.[0-9]+-rc[0-9]+')
echo "Updating plugin to version $plugin_rc_version"
- npm version $plugin_rc_version --no-git-tag-version
+ sed -i -r -e "s/\"version\": \"[0-9]+.[0-9]+.[0-9]+(-rc[0-9]+)?\"/\"version\": \"$plugin_rc_version\"/gi" package.json
echo "Updating plugin.xml to version $plugin_rc_version"
sed -i -r -e "s/version=\"[0-9].[0-9]+.[0-9]+\"/version=\"$plugin_rc_version\"/gi" plugin.xml
- git add plugin.xml
- git commit -m "update plugin.xml"
+ git add plugin.xml package.json
+ git commit -m "update plugin.xml and package.json files"
git push
- name: Push to NPM
env:
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 21013f39..64362552 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -1,3 +1,8 @@
+## 6.12.2
+ Release date: *2023-08-23*
+
+- Cordova plugin >> Update Plugin to v6.12.2
+
## 6.12.10
Release date: *2023-07-17*
diff --git a/package.json b/package.json
index 38fb65d7..be29ea89 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-appsflyer-sdk",
- "version": "6.12.10",
+ "version": "6.12.2",
"description": "Cordova AppsFlyer SDK Plugin",
"cordova": {
"id": "cordova-plugin-appsflyer-sdk",
diff --git a/plugin.xml b/plugin.xml
index f8a0a4d7..31a5f53b 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -91,9 +91,10 @@
-
+
+
diff --git a/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java b/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java
index 155e48d0..a5dff0e6 100644
--- a/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java
+++ b/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java
@@ -6,7 +6,7 @@
public class AppsFlyerConstants {
- final static String PLUGIN_VERSION = "6.12.10";
+ final static String PLUGIN_VERSION = "6.12.2";
final static String NO_DEVKEY_FOUND = "AppsFlyer 'devKey' is missing or empty";
final static String NO_GCM_PROJECT_NUMBER_PROVIDED = "No GCM Project number provided";
final static String SUCCESS = "Success";
diff --git a/src/android/cordovaAF.gradle b/src/android/cordovaAF.gradle
index 595cbeda..bdbe85b6 100644
--- a/src/android/cordovaAF.gradle
+++ b/src/android/cordovaAF.gradle
@@ -4,7 +4,7 @@ repositories {
dependencies {
implementation 'com.android.installreferrer:installreferrer:2.1'
- implementation 'com.appsflyer:af-android-sdk:6.12.1@aar'
+ implementation 'com.appsflyer:af-android-sdk:6.12.2@aar'
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.20'
}
diff --git a/src/ios/AppsFlyerPlugin.m b/src/ios/AppsFlyerPlugin.m
index 0416c72b..8e3e8a05 100755
--- a/src/ios/AppsFlyerPlugin.m
+++ b/src/ios/AppsFlyerPlugin.m
@@ -85,7 +85,7 @@ - (void)initSdk:(CDVInvokedUrlCommand*)command
[AppsFlyerLib shared].deepLinkDelegate = self;
}
- [[AppsFlyerLib shared] setPluginInfoWith:AFSDKPluginCordova pluginVersion:@"6.12.10" additionalParams:nil];
+ [[AppsFlyerLib shared] setPluginInfoWith:AFSDKPluginCordova pluginVersion:@"6.12.2" additionalParams:nil];
[AppsFlyerLib shared].appleAppID = appId;
[AppsFlyerLib shared].appsFlyerDevKey = devKey;
[AppsFlyerLib shared].isDebug = isDebug;