Non Consumable after IAP

I am looking for ideas to trigger a Non Consumable after the user purchases a consumable.


For example.

The app contains Iads, but also has a consumable for 99 cents. Purchasing the consumable would also remove the ads.


Would I just create a Non Consumable that is free. And have it trigger when a consumable is purchased?

The other question is about the restore iap. If the Non Consumable is free,but not yet "purchased", would the restore give the user cedit even thought they did not purchase a consumable?


Any answers or documentation would be great.


Thanks!

Here are two approaches: 1) when a user purchases the consumable, shut off the ads on that device as long as your app is on that device - that's easy. If you want to give them the ability to copy this ad removal to other devices, write to their iCloud key-value file. If you want to preserve ad removal even if they delete and reinstall the app then write to the keychain. Alternatively: 2) create a non-consumable IAP that is ad removal and, for new purchases, also comes with that consumable. (Actually, 2 IAPs - the non-consumable shows first. If it was purchased then allow user to purchase a consumable IAP since the ads were already removed). Grant the consumable element only for a purchase, not a restore or a repurchase for free. To assure that, examine the receipt or write to the keychain or iCloud key-value file.

Non Consumable after IAP
 
 
Q