Using the Implementing a Store In Your App Using the StoreKit API sample code, I've successfully integrated my new APP with StoreKit 2. There is one problem though: when I call the method Transaction.latest(for:) to get the user’s latest transaction, it always returns nil.
Here's the code snippet:
guard let result = await Transaction.latest(for: myProductId) else {
return false
}
Is this a bug with StoreKit 2, or am I doing something wrong? This happens on a physical device, running from Xcode. Thanks in advance.
-
—
dc48
-
—
Hendricks
-
—
msharhan
Add a CommentI have the same issue only on WatchOS though. Is yours the same?
Same here and only on watchOS
+1 with the same issue, only on WatchOS. On iOS it works correctly.