From 169be508464b3891d96d5f1cc0723c6d750cd5a1 Mon Sep 17 00:00:00 2001 From: AmitLY21 Date: Thu, 14 May 2026 15:17:14 +0300 Subject: [PATCH 1/5] Refine release workflows and update `package.json` bugs URL Configure release workflows to explicitly use `https://registry.npmjs.org` for package fetching and disable package manager cache. This ensures consistent and reliable builds by preventing reliance on implicit defaults and avoiding potential stale cache issues. Update the `bugs.url` in `package.json` to reflect the current repository name. --- .github/workflows/production-release.yml | 2 ++ .github/workflows/rc-release.yml | 2 ++ package.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.yml index 65ce2e45..660e509a 100644 --- a/.github/workflows/production-release.yml +++ b/.github/workflows/production-release.yml @@ -168,6 +168,8 @@ jobs: uses: actions/setup-node@v6 with: node-version: 24 + registry-url: 'https://registry.npmjs.org' + package-manager-cache: false - name: Publish to npm if: needs.validate-release.outputs.is_dry_run != 'true' diff --git a/.github/workflows/rc-release.yml b/.github/workflows/rc-release.yml index 11bbda85..67882558 100644 --- a/.github/workflows/rc-release.yml +++ b/.github/workflows/rc-release.yml @@ -466,6 +466,8 @@ jobs: uses: actions/setup-node@v6 with: node-version: '24' + registry-url: 'https://registry.npmjs.org' + package-manager-cache: false - name: Install dependencies run: npm install diff --git a/package.json b/package.json index 7a2d6b7b..48c198cc 100755 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "appsflyer" ], "bugs": { - "url": "https://github.com/AppsFlyerSDK/react-native-appsflyer/issues" + "url": "https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/issues" }, "devDependencies": { "@babel/preset-env": "^7.26.9", From cb614d8a68259575a979ac012803f58e7b8677b5 Mon Sep 17 00:00:00 2001 From: AmitLY21 Date: Thu, 14 May 2026 15:41:25 +0300 Subject: [PATCH 2/5] Clear NODE_AUTH_TOKEN for npm publish steps Explicitly set the `NODE_AUTH_TOKEN` environment variable to an empty string during `npm publish` in both production and RC release workflows. This prevents `npm` from attempting to use any inherited or implicitly available authentication tokens, ensuring consistent and predictable publishing of public packages. --- .github/workflows/production-release.yml | 1 + .github/workflows/rc-release.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.yml index 660e509a..fc478f61 100644 --- a/.github/workflows/production-release.yml +++ b/.github/workflows/production-release.yml @@ -175,6 +175,7 @@ jobs: if: needs.validate-release.outputs.is_dry_run != 'true' env: VERSION: ${{ needs.validate-release.outputs.version }} + NODE_AUTH_TOKEN: '' run: | echo "Publishing version $VERSION to npm..." npm publish diff --git a/.github/workflows/rc-release.yml b/.github/workflows/rc-release.yml index 67882558..e25cb60e 100644 --- a/.github/workflows/rc-release.yml +++ b/.github/workflows/rc-release.yml @@ -482,6 +482,8 @@ jobs: - name: Publish RC to npm if: ${{ needs.validate-release.outputs.is_dry_run != 'true' }} + env: + NODE_AUTH_TOKEN: '' run: npm publish --tag rc # =========================================================================== From b2deb1b8c6ad861a59d4024e89a471accc0d05b1 Mon Sep 17 00:00:00 2001 From: AmitLY21 Date: Thu, 14 May 2026 15:43:46 +0300 Subject: [PATCH 3/5] Enable provenance for npm publishing This adds the `--provenance` flag to `npm publish` commands in both production and RC release workflows. This enhances supply chain security by attaching verifiable build information to published packages. --- .github/workflows/production-release.yml | 2 +- .github/workflows/rc-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.yml index fc478f61..ab8e6c3e 100644 --- a/.github/workflows/production-release.yml +++ b/.github/workflows/production-release.yml @@ -178,7 +178,7 @@ jobs: NODE_AUTH_TOKEN: '' run: | echo "Publishing version $VERSION to npm..." - npm publish + npm publish --provenance echo "Published $VERSION to npm" - name: Dry-run publish diff --git a/.github/workflows/rc-release.yml b/.github/workflows/rc-release.yml index e25cb60e..a3d7b628 100644 --- a/.github/workflows/rc-release.yml +++ b/.github/workflows/rc-release.yml @@ -484,7 +484,7 @@ jobs: if: ${{ needs.validate-release.outputs.is_dry_run != 'true' }} env: NODE_AUTH_TOKEN: '' - run: npm publish --tag rc + run: npm publish --tag rc --provenance # =========================================================================== # Create Pre-Release Tag From beda8fd74feb7e7bf5316b27c4631617691e1f92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 May 2026 12:44:41 +0000 Subject: [PATCH 4/5] chore: prepare RC 6.18.0-rc1 (iOS 6.18.0, Android 6.18.0) --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- android/build.gradle | 2 +- .../com/appsflyer/reactnative/RNAppsFlyerConstants.java | 2 +- ios/RNAppsFlyer.h | 2 +- package.json | 2 +- react-native-appsflyer.podspec | 6 +++--- 7 files changed, 17 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a15eb426..b15d106a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 6.18.0-rc1 + Release date: *2026-05-14* + +### Changes +- Android SDK 6.18.0 +- iOS SDK 6.18.0 +- TODO: Add specific changes before merging + ## 6.17.9 Release date: *2026-03-31* diff --git a/README.md b/README.md index b11facb5..dc6be33d 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ To do so, please follow [this article](https://support.appsflyer.com/hc/en-us/ar ### This plugin is built for -- Android AppsFlyer SDK **v6.17.6** -- iOS AppsFlyer SDK **v6.17.9** +- Android AppsFlyer SDK **v6.18.0** +- iOS AppsFlyer SDK **v6.18.0** - Minimum tested with React-Native **v0.62.0** (older versions might be supported) ## Release Updates diff --git a/android/build.gradle b/android/build.gradle index 5d58ec05..872eae70 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -70,7 +70,7 @@ repositories { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.10" // Add Kotlin standard library implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.17.6')}" + api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.18.0')}" implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.2')}" if (includeConnector){ implementation 'com.appsflyer:purchase-connector:2.2.1' diff --git a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java index d39fdc7f..e8e4a7cc 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.17.9"; + final static String PLUGIN_VERSION = "6.18.0-rc1"; 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 e16136a5..97cdcf44 100755 --- a/ios/RNAppsFlyer.h +++ b/ios/RNAppsFlyer.h @@ -22,7 +22,7 @@ @end -static NSString *const kAppsFlyerPluginVersion = @"6.17.9"; +static NSString *const kAppsFlyerPluginVersion = @"6.18.0-rc1"; 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 48c198cc..eb405238 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-appsflyer", - "version": "6.17.9", + "version": "6.18.0-rc1", "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 572ff89f..c2da2019 100644 --- a/react-native-appsflyer.podspec +++ b/react-native-appsflyer.podspec @@ -30,19 +30,19 @@ Pod::Spec.new do |s| # AppsFlyerPurchaseConnector if defined?($AppsFlyerPurchaseConnector) && ($AppsFlyerPurchaseConnector == true) Pod::UI.puts "#{s.name}: Including PurchaseConnector." - s.dependency 'PurchaseConnector', '6.17.9' + s.dependency 'PurchaseConnector', '6.18.1' end # AppsFlyerFramework if defined?($RNAppsFlyerStrictMode) && ($RNAppsFlyerStrictMode == true) Pod::UI.puts "#{s.name}: Using AppsFlyerFramework/Strict mode" - s.dependency 'AppsFlyerFramework/Strict', '6.17.9' + s.dependency 'AppsFlyerFramework/Strict', '6.18.0' 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.17.9' + s.dependency 'AppsFlyerFramework', '6.18.0' end end From 817ee729b0ca74b9213e6804dc89d6018b8dbf50 Mon Sep 17 00:00:00 2001 From: Amit Levy <118281047+al-af@users.noreply.github.com> Date: Thu, 14 May 2026 16:05:36 +0300 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b15d106a..8f47a217 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changes - Android SDK 6.18.0 - iOS SDK 6.18.0 -- TODO: Add specific changes before merging +- Android PC Bump to v2.2.1 supporting billing library 8 ## 6.17.9 Release date: *2026-03-31*