tikhop / TPInAppReceipt

Reading and Validating In App Purchase Receipt Locally.
MIT License
635 stars 95 forks source link

`activeAutoRenewableSubscriptionPurchases` returns empty if device time changes #98

Closed tungvustarglobal closed 2 years ago

tungvustarglobal commented 2 years ago

Hi, I'm facing a weird issue that can be reproduce with the step bellow:

  1. Change time in the device (to 2 hours in the future)
  2. Buy a subscription (sanbox)
  3. Buy succeeded
  4. Get receipt InAppReceipt.localReceipt().activeAutoRenewableSubscriptionPurchases
  5. The result is empty

Hope you can give me some advices