Non-expendable in-app purchases using MKstorekit4?
I have an Iphone application in which I use two types of purchases. Consumables and subscriptions cannot be used. For subscription I have to use mkstorekit4 anyway. So I need to implement indestructible also in storekit4. Anyone know the steps to integrate unused products with mkstorekit4. Can someone help me.
source to share
As a form of me, if you've already had time to add auto-update in your app, you are the guru of the embedded app, so adding a non-consuming one is as easy as pie, even without the MkStoreKit.
You just make a purchase and save it to UserDefaults.
And with MK you just add it to the non-consumable part of your MK plist and add a couple of lines of code and that's done) Just a button that makes a purchase I guess)
Update This article just confirms what I said.
http://blog.mugunthkumar.com/coding/using-mkstorekit-in-your-apps/
Configuring for non-consumers: Unused consumables do not require additional configuration. Just enter a list of product ids in the plist file. To check if the user has purchased this function, you can call a function such as
if([MKStoreManager isFeaturePurchased:kFeatureID]) { //unlock it }
To purchase a feature, just call
[[MKStoreManager sharedManager] buyFeature:kFeatureAId onComplete:^(NSString* purchasedFeature) { NSLog(@"Purchased: %@", purchasedFeature); } onCancelled:^ { NSLog(@"User Cancelled Transaction"); }];
source to share