Purchase.subscriptionTerms returns non-nil for non-subscription products
ekurutepe opened this issue · comments
The documentation says that this property should be nil if the product is not a subscription. Which makes total sense.
In release 0.10.0, it does return non-nil even for non-subscriptions.
I tried setting a breakpoint in the property getter in Purchase.swift
but somehow it was not hit.
I'll investigate further.
I believe this is fixed on master, as per the code changes here. I noticed that StoreKIt started returning values like ‘0 days’ for duration, rather than leaving the underlying property as nil
.
I’m looking to do a 0.11 release soon that will incorporate this change.
awesome! This sounds like a StoreKit bug then since the docs there say it's supposed to return nil as well. Cheers.
I can confirm that master
works as expected.