Skip to content

Dont use reflection to instantiate AmazonOfferingParser#2934

Merged
fire-at-will merged 1 commit into
mainfrom
dont-use-reflection-for-amazon-offering-parser
Dec 15, 2025
Merged

Dont use reflection to instantiate AmazonOfferingParser#2934
fire-at-will merged 1 commit into
mainfrom
dont-use-reflection-for-amazon-offering-parser

Conversation

@fire-at-will

@fire-at-will fire-at-will commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Description

We no longer need to use reflection to instantiate the AmazonOfferingParser, so this PR updates its instantiation to use a normal constructor.

Similar to #2919

@fire-at-will fire-at-will requested a review from a team as a code owner December 15, 2025 14:22

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! thanks for the cleanup!!

@codecov

codecov Bot commented Dec 15, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.82%. Comparing base (f452c66) to head (9bf8279).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2934      +/-   ##
==========================================
+ Coverage   78.80%   78.82%   +0.01%     
==========================================
  Files         337      337              
  Lines       13131    13126       -5     
  Branches     1770     1770              
==========================================
- Hits        10348    10346       -2     
+ Misses       2041     2038       -3     
  Partials      742      742              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fire-at-will fire-at-will added this pull request to the merge queue Dec 15, 2025
Merged via the queue into main with commit 5db55aa Dec 15, 2025
23 checks passed
@fire-at-will fire-at-will deleted the dont-use-reflection-for-amazon-offering-parser branch December 15, 2025 15:15
This was referenced Dec 17, 2025
tonidero added a commit that referenced this pull request Dec 18, 2025
## RevenueCat SDK
### ✨ New Features
* Adds `setAppsFlyerConversionData` to conveniently track AppsFlyer
conversion data (#2931) via JayShortway (@JayShortway)
### 🐞 Bugfixes
* Make close() method also clear the shared instance of the SDK (#2940)
via Toni Rico (@tonidero)
* Fix purchase callback not firing for DEFERRED product changes with
baePlanId in oldProductId (#2937) via Facundo Menzella (@facumenzella)

### 🔄 Other Changes
* [AUTOMATIC] Update golden test files for backend integration tests
(#2949) via RevenueCat Git Bot (@RCGitBot)
* [AUTOMATIC] Update golden test files for backend integration tests
(#2944) via RevenueCat Git Bot (@RCGitBot)
* Adds `.kotlin` to `.gitignore` (#2941) via JayShortway (@JayShortway)
* Dont use reflection to instantiate AmazonOfferingParser (#2934) via
Will Taylor (@fire-at-will)

---------

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants