Skip to content

Conversation

@rickvdl
Copy link
Contributor

@rickvdl rickvdl commented Jan 2, 2026

Based on #5940, this PR focusses on the first part, storing the transaction metadata in a local persistent cache.

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-android and hybrids

Motivation

Description

}

// MARK: Storing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

todo: add serialization tests asserting against json snapshots

@rickvdl rickvdl force-pushed the SDK-4185-local-transaction-details-storing branch from a2346cd to eb74e2d Compare January 7, 2026 12:59
@emerge-tools
Copy link

emerge-tools bot commented Jan 7, 2026

3 builds increased size, 1 build had no size change

Name Version Download Change Install Change Approval
RevenueCat
com.revenuecat.PaywallsTester
1.0 (1) 17.0 MB ⬆️ 30.6 kB (0.18%) 60.5 MB ⬆️ 140.3 kB (0.23%) N/A
BinarySizeTest
com.revenuecat.binary-size-test.local-source
1.0 (1) 3.6 MB ⬆️ 13.3 kB (0.37%) 11.0 MB ⬆️ 38.9 kB (0.36%) ⏳ Needs approval
BinarySizeTest
com.revenuecat.binary-size-test.cocoapods
1.0 (1) 5.5 MB ⬆️ 15.1 kB (0.28%) 24.4 MB ⬆️ 88.9 kB (0.37%) ⏳ Needs approval
BinarySizeTest
com.revenuecat.binary-size-test.spm
1.0 (1) 3.3 MB ⬆️ 10 B 10.1 MB - N/A

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 140.3 kB (0.23%)
Total download size change: ⬆️ 30.6 kB (0.18%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 48.4 kB
RevenueCat.Backend.Backend ⬇️ -5.5 kB
RCPurchases.Objc Metadata ⬆️ 4.8 kB
DYLD.Exports ⬆️ 4.0 kB
Code Signature ⬆️ 3.3 kB
View Treemap

Image of diff

BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.local-source

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 38.9 kB (0.36%)
Total download size change: ⬆️ 13.3 kB (0.37%)

Largest size changes

Item Install Size Change
🗑 RevenueCat.PurchasesOrchestrator.handlePostReceiptResult(transact... ⬇️ -9.4 kB
📝 RevenueCat.LocalTransactionMetadata.value witness ⬆️ 5.8 kB
RevenueCat.Purchases.restorePurchases(completion) ⬆️ 4.1 kB
🗑 RevenueCat.PostReceiptDataOperation.Paywall ⬇️ -3.9 kB
DYLD.String Table ⬆️ 3.7 kB
View Treemap

Image of diff

BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.cocoapods

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 88.9 kB (0.37%)
Total download size change: ⬆️ 15.1 kB (0.28%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 34.9 kB
🗑 RevenueCat.PurchasesOrchestrator.handlePostReceiptResult(transact... ⬇️ -9.4 kB
📝 RevenueCat.LocalTransactionMetadata.value witness ⬆️ 5.8 kB
RevenueCat.Purchases.restorePurchases(completion) ⬆️ 4.1 kB
🗑 RevenueCat.PostReceiptDataOperation.Paywall ⬇️ -3.8 kB
View Treemap

Image of diff

BinarySizeTest 1.0 (1)
com.revenuecat.binary-size-test.spm

No changes to report


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

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.

3 participants