Has anyone implemented StoreKit 2 using the new views available in IOS 17?
Just added code to my app per the example in Tutorial https://www.hackingwithswift.com/quick-start/swiftui/how-to-add-in-app-purchases-in-swiftui.
Planning to add in-App purchases to my app, already in the app store.
I think it is working, still have lots more testing to do, but at the end of tutorial at the link above,
Paul says, "Be careful: that code alone isn’t enough, because one of the possible completion status is pending: the purchase is in the process of happening but hasn’t completed yet, so you still need to watch the transaction queue manually to be absolutely sure of handling the process completely." Where/how do I put the watch the transaction queue code?
But he doesn't say how to do it. I had previously gone through the tutorial from Ultimate Portfolio App, specifically for the inApp purchases, but not sure which if any of those examples still apply.
Any suggestions or pointers would be greatly appreciated.