v10.4.0
This release contains fixes for minor bugs and edge cases.
c579e87 Improve use of isExpired
collection field
The plugin now better handles the case where the receipt validator reports a subscription as expired using the collection
field, even when this happens when validating the application receipt.
In particular, with this change, the expired
event will be triggered when subscription expiry is set this way.
c0fc12e (ios) Limit interactive renewals detection to 1 hour
This fixes an issue where, for some users, the receipt was ever-refreshing because the plugin though it just expired, while this happened long ago.
43eff81 (ios) Don't assume in_app array is sorted
in_app
used to be sorted chronologically, it's not true anymore. It was a bad assumption anyway.
fba6605 (ios) Fix #1123 - Found nil parameter when creating SKPaymentDiscount
SKPaymentDiscount
was mistakenly initiated with nil
parameters, which iOS 14.1 started to complain about.