bizz84 / bizz84/SwiftyStoreKit
Should localReceiptData be updated when a Subscription auto renews?
- Dominant language
- Swift
- Stars
- 6.7k
- Forks
- 801
- PR merge metrics
- No merged PRs in 30d
Description
## Question
I am testing auto-renewing subscriptions in the Sandbox and have noticed that my `SwiftyStoreKit.completeTransactions` completion handler in `AppDelegate` is invoked with a `purchased` state as expected when a subscription auto renews BUT subsequently the `SwiftyStoreKit.localReceiptData` property seems to not have been updated as `SwiftyStoreKit.verifySubscription` returns a status of expired with the old subscription expiry date. Is this expected?
Of course if I were to refresh the receipt (using either fetchReceipt or verifyReceipt with forceRefresh) the latest (renewed and active) subscription is received.
Contributor guide
Assessment
This issue has not been assessed yet.