MKStoreKit
MKStoreKit copied to clipboard
MKStorekit isProductPurchased returns NO after kMKStoreKitProductPurchasedNotification notification is received.
Hello,
I am trying to implement a "RemoveWatermark" purchase button for a non-consumable product using the excellent MKStoreKit.
I've got the folliwing code on the purchase button:
if ([[MKStoreKit sharedKit] isProductPurchased:RemoveWaterMark]) { // do some stuff here } else { // do some stuff here }
But it actually returns NO always and this callback is being worked . Why MKStorekit doesn't save the product id purchased ?
[[NSNotificationCenter defaultCenter] addObserverForName:kMKStoreKitProductPurchasedNotification
object:nil
queue:[[NSOperationQueue alloc] init]
usingBlock:^(NSNotification *note) {
..... }
Thanks in advance.
I'm running into the same issue. Has this been resolved in any way yet?
My plan is just to not rely on isProductPurchased. I'll just store the NSUserDefaults myself when I get a purchased notification and work with that without ever calling isProductPurchased.
It worked fine for me in testing, but I've had customers telling me that it's not acting purchased when it is, or it is acting purchased when it's not. This is a pretty insidious and directly financially damaging bug.
Wow, has this been resolved? I don't want to run to this issue.