Closed fire-at-will closed 3 weeks ago
@tonidero About SubscriptionOption.installmentInfo
- it looks like the Android SubscriptionInfo
object is actually a typealias for the Android com.revenuecat.purchases.models.SubscriptionOption
, which already has installmentInfo
added to it 😄
@tonidero @fire-at-will Yea that's true, but this means it's only usable in the Android source set. I think it's beneficial if we can access it from the common source set, so for that we'd need to add a public API in commonMain/[...]/SubscriptionOption.kt
. However, we can also do that when we converting away from typealias
es (but we should make sure not to forget).
@JayShortway I'll give it a shot! Will be back in a few minutes! :D
@JayShortway @tonidero The changes to add InstallmentInfos
started to be spread across several files, so I opened a PR into this branch to make it easier to review: https://github.com/RevenueCat/purchases-kmp/pull/150
This PR updates the KMP SDK to consume the latest changes in PHC 13.0.1. Once it is merged, we should be ready for a beta 3 release.
Description
Specifically, this PR:
StoreKitVersion
enumstoreKitVersion
to be provided when the value is set toMyApp
storeKitVersion
to the PurchasesConfiguration objectrecordPurchase
function toPurchases
.StoreTransaction
to be a class on iOS. For now, it remains a typealias on Android due to some conflicts inpurchases-ui