Simbul / baker

The HTML5 ebook framework to publish interactive books & magazines on iPad & iPhone using simply open web standards
http://bakerframework.com
1.53k stars 380 forks source link

IAP question #1101

Open callaght opened 10 years ago

callaght commented 10 years ago

What array can I update so that I can mark a magazine or subscription as purchased.

I tried using these methods in PurchasesManager: -

- (BOOL)isMarkedAsPurchased:(NSString *)productID;
- (void)markAsPurchased:(NSString *)productID;

But when I call: -

[self handleRefresh:nil];

in ShelfViewController, magazine issues that I markAsPurchased are still displayed with the Buy button instead of Download button.

Simbul commented 10 years ago

What are you trying to do exactly?

The two methods in PurchasesManager are only a fallback and should not be relied upon. Purchases are listed in the _purchases array in PurchasesManager.

folletto commented 10 years ago

Is there any update on this? Did you manage to solve the issue? :)