-
Notifications
You must be signed in to change notification settings - Fork 86
Add option to disable automatic ID collection when setting attribution network IDs at configuration time #2643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
tonidero
merged 5 commits into
main
from
add-option-to-disable-automatic-id-collection-when-setting-attribution-ids
Aug 28, 2025
Merged
Add option to disable automatic ID collection when setting attribution network IDs at configuration time #2643
tonidero
merged 5 commits into
main
from
add-option-to-disable-automatic-id-collection-when-setting-attribution-ids
Aug 28, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…n network IDs at configuration time
tonidero
commented
Aug 28, 2025
purchases/src/main/kotlin/com/revenuecat/purchases/PurchasesConfiguration.kt
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2643 +/- ##
==========================================
+ Coverage 78.47% 78.48% +0.01%
==========================================
Files 305 305
Lines 11354 11369 +15
Branches 1576 1577 +1
==========================================
+ Hits 8910 8923 +13
- Misses 1753 1755 +2
Partials 691 691 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
MarkVillacampa
approved these changes
Aug 28, 2025
tonidero
pushed a commit
that referenced
this pull request
Aug 28, 2025
**This is an automatic release.** ## RevenueCat SDK ### ✨ New Features * Add option to disable automatic ID collection when setting attribution network IDs at configuration time (#2643) via Toni Rico (@tonidero) ### 🐞 Bugfixes * Handle payment pending errors when restoring properly (#2635) via Toni Rico (@tonidero) ## RevenueCatUI SDK ### Paywallv2 #### ✨ New Features * MON-1193 Support delayed close button (Component Transitions) (#2623) via Jacob Rakidzich (@JZDesign) #### 🐞 Bugfixes * Fix PaywallDialog going over screen size on Android 35+ (#2642) via Toni Rico (@tonidero) ### Customer Center #### ✨ New Features * Add button_text to ScreenOffering (#2638) via Facundo Menzella (@facumenzella) ### 🔄 Other Changes * Chore: Update detekt yml file (#2637) via Jacob Rakidzich (@JZDesign) * Update CHANGELOG for version 8.23.0 release (#2636) via Toni Rico (@tonidero) * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2633) via RevenueCat Git Bot (@RCGitBot) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
tonidero
added a commit
that referenced
this pull request
Sep 10, 2025
…n network IDs at configuration time (#2643) ### Description This adds a new API that can be used to disable automatic collection of Advertising ID, IP and device info when using one of the attribution networks we support like Adjust or Appsflyer. This can be set at configuration time like this: ``` val purchasesConfiguration = PurchasesConfiguration.Builder(context, "YOUR_API_KEY") .automaticDeviceIdentifierCollectionEnabled(enabled) .build() Purchases.configure(purchasesConfiguration) ``` Note that you can still collect these identifiers with this option disabled by calling `Purchases.sharedInstance.collectDeviceIdentifiers()`
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This adds a new API that can be used to disable automatic collection of Advertising ID, IP and device info when using one of the attribution networks we support like Adjust or Appsflyer. This can be set at configuration time like this:
Note that you can still collect these identifiers with this option disabled by calling
Purchases.sharedInstance.collectDeviceIdentifiers()