It sounds like you tested it on iOS. I understand that some developers refresh Transaction.currentEntitlements when the iOS app switches to the foreground. Yes, I do handle Transaction.unfinished and it is not related to my issue. Have you seen this post by @saxmanbob? He had a similar issue to mine, but he resolved it due to some “Objective-C machinery”. I don’t use Objective-C in my app, although it may exist within some Swift packages. Please try the following and let me know if you get the same result. Download the CotEditor Xcode project, copy and paste the InAppPurchaseManager code somewhere appropriate and launch it in applicationDidFinishLaunching(_:). Locate the CotEditor.storekit file and change the Subscription Renewal Rate to Any Renewal Every 10 Seconds or Any Renewal Every 2 Seconds. Run the app and observe the console. You will see that it does not behave as expected. You could also try this in a fresh AppKit Xcode project. You don’t need to build the UI and you will see that it works
Topic:
App & System Services
SubTopic:
StoreKit
Tags: