RevenueCat / purchases-android

Android in-app purchases and subscriptions made easy.
https://www.revenuecat.com/
MIT License
247 stars 50 forks source link

Makes `ITEM_NOT_OWNED` message more clear when restoring and acknowledging/consuming #1757

Closed vegaro closed 3 months ago

vegaro commented 3 months ago

Cleans up logs when acknowledging or consuming and getting an ITEM_NOT_OWNED. Also removed some duplication of the logs


Before: CleanShot 2024-06-19 at 12 30 21@2x

After: CleanShot 2024-06-19 at 12 29 26@2x

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.26%. Comparing base (ab467db) to head (a304f89). Report is 1 commits behind head on main.

:exclamation: Current head a304f89 differs from pull request most recent head 319d2f9

Please upload reports for the commit 319d2f9 to get more accurate results.

Files Patch % Lines
...hases/google/usecase/AcknowledgePurchaseUseCase.kt 87.50% 0 Missing and 1 partial :warning:
...purchases/google/usecase/ConsumePurchaseUseCase.kt 91.66% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1757 +/- ## ========================================== + Coverage 83.23% 83.26% +0.02% ========================================== Files 223 223 Lines 7582 7595 +13 Branches 1064 1068 +4 ========================================== + Hits 6311 6324 +13 + Misses 853 851 -2 - Partials 418 420 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.