Skip to content

Add tenjinAnalyticsInstallationId setter property#1897

Merged
tonidero merged 2 commits into
mainfrom
sdk-3617-add-tenjin-integration-to-sdks
Nov 5, 2024
Merged

Add tenjinAnalyticsInstallationId setter property#1897
tonidero merged 2 commits into
mainfrom
sdk-3617-add-tenjin-integration-to-sdks

Conversation

@tonidero

@tonidero tonidero commented Nov 4, 2024

Copy link
Copy Markdown
Contributor

Description

This adds a new reserved attribute $tenjinId and adds a new setTenjinAnalyticsInstallationID API to the SDK to set it.

@tonidero tonidero added the pr:feat A new feature label Nov 4, 2024
@tonidero tonidero requested review from a team and Carlosedo November 4, 2024 08:36
*/
MIXPANEL_DISTINCT_ID("\$mixpanelDistinctId"),
FIREBASE_APP_INSTANCE_ID("\$firebaseAppInstanceId"),
TENJIN_ANALYTICS_INSTALLATION_ID("\$tenjinId"),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thought about using $tenjinAnalyticsInstallationId to be more specific, but the backend is currently expecting this, and I don't think we will need to send anything else anytime soon, so decided to leave it as is.

@Carlosedo Carlosedo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'd like someone with SDK experience to also take a look, but everything seems fine from what I understand of the code haha

Thank you for taking care of this @tonidero!

@codecov

codecov Bot commented Nov 4, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.18%. Comparing base (8933574) to head (806e9e5).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1897      +/-   ##
==========================================
- Coverage   82.25%   82.18%   -0.07%     
==========================================
  Files         227      231       +4     
  Lines        7968     8056      +88     
  Branches     1121     1132      +11     
==========================================
+ Hits         6554     6621      +67     
- Misses        967      986      +19     
- Partials      447      449       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tonidero tonidero merged commit f76eb6a into main Nov 5, 2024
@tonidero tonidero deleted the sdk-3617-add-tenjin-integration-to-sdks branch November 5, 2024 08:39
tonidero added a commit that referenced this pull request Nov 8, 2024
**This is an automatic release.**

## RevenueCat SDK
### ✨ New Features
* Add `tenjinAnalyticsInstallationId` setter property (#1897) via Toni
Rico (@tonidero)
### 🐞 Bugfixes
* [Fix] Consider a network error as not successfully synced for paywall
events (#1900) via Mark Villacampa (@MarkVillacampa)

### 🔄 Other Changes
* [Paywalls] Synchronize paywall events on app backgrounding and after a
purchase (#1901) via Mark Villacampa (@MarkVillacampa)
* Dispatcher catches and rethrows Throwable instead of Exception to
avoid swallowing errors (#1894) via JayShortway (@JayShortway)

---------

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants