diff --git a/.github/workflows/deploy-to-QA.yml b/.github/workflows/deploy-to-QA.yml index b68085ac..0ae7cb04 100644 --- a/.github/workflows/deploy-to-QA.yml +++ b/.github/workflows/deploy-to-QA.yml @@ -9,13 +9,21 @@ jobs: environment: Staging steps: - uses: actions/checkout@v3 - - name: Login to Github + with: + token: ${{ secrets.CI_DEV_GITHUB_TOKEN }} + persist-credentials: true + + - name: Setup Git Authentication env: COMMIT_AUTHOR: ${{ secrets.CI_COMMIT_AUTHOR }} COMMIT_EMAIL: ${{ secrets.CI_COMMIT_EMAIL }} + MY_PERSONAL_ACCESS_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }} run: | git config --global user.name $COMMIT_AUTHOR git config --global user.email $COMMIT_EMAIL + git config --global credential.helper 'cache --timeout=300' + git config --global --add "credential.https://github.com.username" "x-access-token" + echo "https://x-access-token:$MY_PERSONAL_ACCESS_TOKEN@github.com" > ~/.git-credentials - name: Check if fixed version is on Jira env: diff --git a/.github/workflows/pre-release-workflow.yml b/.github/workflows/pre-release-workflow.yml index e8470370..de53a44a 100644 --- a/.github/workflows/pre-release-workflow.yml +++ b/.github/workflows/pre-release-workflow.yml @@ -13,17 +13,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.CI_DEV_GITHUB_TOKEN }} + persist-credentials: true + - name: Login to Github env: COMMIT_AUTHOR: ${{ secrets.CI_COMMIT_AUTHOR }} COMMIT_EMAIL: ${{ secrets.CI_COMMIT_EMAIL }} + MY_PERSONAL_ACCESS_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }} run: | git config --global user.name $COMMIT_AUTHOR git config --global user.email $COMMIT_EMAIL + git config --global credential.helper 'cache --timeout=300' + git config --global --add "credential.https://github.com.username" "x-access-token" + echo "https://x-access-token:$MY_PERSONAL_ACCESS_TOKEN@github.com" > ~/.git-credentials - uses: mdecoleman/pr-branch-name@1.2.0 id: vars with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.CI_DEV_GITHUB_TOKEN }} - name: Update package.json file run: | plugin_version=$(echo "${{ steps.vars.outputs.branch }}" | grep -Eo '[0-9].[0-9]+.[0-9]+') diff --git a/.github/workflows/release-Production-workflow.yml b/.github/workflows/release-Production-workflow.yml index 4e57f840..8770afa9 100644 --- a/.github/workflows/release-Production-workflow.yml +++ b/.github/workflows/release-Production-workflow.yml @@ -21,17 +21,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.CI_DEV_GITHUB_TOKEN }} + persist-credentials: true + - name: Login to Github env: COMMIT_AUTHOR: ${{ secrets.CI_COMMIT_AUTHOR }} COMMIT_EMAIL: ${{ secrets.CI_COMMIT_EMAIL }} + MY_PERSONAL_ACCESS_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }} run: | git config --global user.name $COMMIT_AUTHOR git config --global user.email $COMMIT_EMAIL + git config --global credential.helper 'cache --timeout=300' + git config --global --add "credential.https://github.com.username" "x-access-token" + echo "https://x-access-token:$MY_PERSONAL_ACCESS_TOKEN@github.com" > ~/.git-credentials - uses: mdecoleman/pr-branch-name@1.2.0 id: vars with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.CI_DEV_GITHUB_TOKEN }} - name: Determine release tag and release branch run: | TAG=$(echo "${{ steps.vars.outputs.branch }}" | grep -Eo '[0-9].[0-9]+.[0-9]+') @@ -44,7 +52,7 @@ jobs: TAG: ${{env.PLUGIN_VERSION}} uses: "actions/github-script@v5" with: - github-token: "${{ secrets.GITHUB_TOKEN }}" + github-token: "${{ secrets.CI_DEV_GITHUB_TOKEN }}" script: | try { await github.rest.repos.createRelease({ diff --git a/README.md b/README.md index 63e6e6a4..95c1a521 100755 --- a/README.md +++ b/README.md @@ -44,8 +44,8 @@ You can read more [here](https://support.appsflyer.com/hc/en-us/articles/2070320 ### This plugin is built for -- iOS AppsFlyerSDK **v6.15.1** -- Android AppsFlyerSDK **v6.15.0** +- iOS AppsFlyerSDK **v6.15.3** +- Android AppsFlyerSDK **v6.15.2** ### ❗v6.15.11 Breaking Changes diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 5a9bdbde..c02e8c81 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,3 +1,18 @@ +## 6.15.3 + Release date: *2024-12-02* + +- Cordova >> Update Plugin to v6.15.3 + +## 6.15.3 + Release date: *2024-12-02* + +- Cordova >> Update Plugin to v6.15.3 + +## 6.15.3 + Release date: *2024-12-02* + +- Cordova >> Update Plugin to v6.15.3 + ## 6.15.11 Release date: *2024-09-03* - Cordova >> Fix chartboost adrevenue enum typo in ios side diff --git a/package.json b/package.json index 0888b74a..c2898955 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cordova-plugin-appsflyer-sdk", - "version": "6.15.11", + "version": "6.15.3", "description": "Cordova AppsFlyer SDK Plugin", diff --git a/plugin.xml b/plugin.xml index d468a3d2..55653e3d 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ + version="6.15.3-rc3"> AppsFlyer Cordova Plugin AppsFlyer Apache 2.0 @@ -91,7 +91,7 @@ - + diff --git a/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java b/src/android/com/appsflyer/cordova/plugin/AppsFlyerConstants.java index 7acf7db9..cbf56fb7 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.15.1"; + final static String PLUGIN_VERSION = "6.15.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 011933b3..e80035ab 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.15.0@aar' + implementation 'com.appsflyer:af-android-sdk:6.15.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 b7a2d6f3..81195ac1 100755 --- a/src/ios/AppsFlyerPlugin.m +++ b/src/ios/AppsFlyerPlugin.m @@ -96,7 +96,7 @@ - (void)initSdk:(CDVInvokedUrlCommand*)command } // Initialize the SDK - [[AppsFlyerLib shared] setPluginInfoWith:AFSDKPluginCordova pluginVersion:@"6.15.1" additionalParams:nil]; + [[AppsFlyerLib shared] setPluginInfoWith:AFSDKPluginCordova pluginVersion:@"6.15.3" additionalParams:nil]; [AppsFlyerLib shared].appleAppID = appId; [AppsFlyerLib shared].appsFlyerDevKey = devKey; [AppsFlyerLib shared].isDebug = isDebug;