Skip to content

feat(appsflyer): bump the minimum appslfyer integration version to 2.4.0#291

Merged
vgupta98 merged 3 commits intodevelopfrom
feat/sdk-4051-update-min-appsflyer-version
Feb 23, 2026
Merged

feat(appsflyer): bump the minimum appslfyer integration version to 2.4.0#291
vgupta98 merged 3 commits intodevelopfrom
feat/sdk-4051-update-min-appsflyer-version

Conversation

@vgupta98
Copy link
Contributor

@vgupta98 vgupta98 commented Feb 19, 2026

This pull request updates the AppsFlyer integration dependencies in the Android build configuration to use a newer version of the RudderStack AppsFlyer integration, while removing direct dependencies on the AppsFlyer SDK and install referrer libraries.

Dependency updates:

  • Updated the com.rudderstack.android.integration:appsflyer dependency to use version range [2.4.0, 3.0.0) and removed direct dependencies on com.appsflyer:af-android-sdk and com.android.installreferrer.

@vgupta98 vgupta98 requested a review from a team as a code owner February 19, 2026 06:38
@vgupta98 vgupta98 self-assigned this Feb 19, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

📝 Walkthrough

Walkthrough

Replaced three dependency entries in packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle with a single version-range implementation: com.rudderstack.android.integration:appsflyer changed from 1.+ to [2.4.0, 3.0.0); com.appsflyer:af-android-sdk and com.android.installreferrer:installreferrer were removed.

Changes

Cohort / File(s) Summary
AppsFlyer Gradle deps
packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle
Removed com.rudderstack.android.integration:appsflyer:1.+, com.appsflyer:af-android-sdk:6.+, com.android.installreferrer:installreferrer:2.+; added implementation 'com.rudderstack.android.integration:appsflyer:[2.4.0, 3.0.0)'.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: bumping the AppsFlyer integration version from 1.+ to 2.4.0, which is the primary modification in the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-4051-update-min-appsflyer-version

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle (1)

30-30: Use an explicit version range for installreferrer to match other dependencies.

Line 30 uses 2.+ while all other dependencies (lines 22, 26, 29) use explicit lower-bound ranges. This introduces the same non-reproducibility concern. Update to [2.2, 3.0.0) following the established pattern.

♻️ Proposed fix
-    implementation 'com.android.installreferrer:installreferrer:2.+'
+    implementation 'com.android.installreferrer:installreferrer:[2.2, 3.0.0)'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle`
at line 30, Replace the floating dependency version for
com.android.installreferrer (the line using implementation
'com.android.installreferrer:installreferrer:2.+') with an explicit lower-bound
range to match the project's pattern; update it to use the range [2.2, 3.0.0) so
the dependency becomes an explicit, reproducible range.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle`:
- Line 29: Update the AppsFlyer Gradle dependency range to restrict automatic
upgrades to the current major version: replace the existing implementation line
referencing "com.appsflyer:af-android-sdk:[6.17.5, 17.0.0)" with a range that
caps at the next major, i.e., "[6.17.5, 7.0.0)"; ensure the change is made where
the dependency string appears so future patch/minor fixes are allowed but major
(breaking) upgrades are prevented.

---

Nitpick comments:
In
`@packages/integrations/rudder_integration_appsflyer_flutter/android/build.gradle`:
- Line 30: Replace the floating dependency version for
com.android.installreferrer (the line using implementation
'com.android.installreferrer:installreferrer:2.+') with an explicit lower-bound
range to match the project's pattern; update it to use the range [2.2, 3.0.0) so
the dependency becomes an explicit, reproducible range.

Copy link
Contributor

@1abhishekpandey 1abhishekpandey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's specify the version in the PR title e.g.,: feat: bump the minimum appslfyer integration version to x.y.z.

@vgupta98 vgupta98 changed the title feat(appsflyer): update min appsflyer and integration version feat(appsflyer): bump the minimum appslfyer integration version to 2.4.0 Feb 19, 2026
@sonarqubecloud
Copy link

@vgupta98 vgupta98 merged commit 2171785 into develop Feb 23, 2026
12 of 14 checks passed
@vgupta98 vgupta98 deleted the feat/sdk-4051-update-min-appsflyer-version branch February 23, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants