bizz84 / bizz84/SwiftyStoreKit

Should localReceiptData be updated when a Subscription auto renews?

Open
#603 4 comments 1 reaction 0 assignees View on GitHub
type: question
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.