—
Phonegap IAP plugin modeled from standard c2 IAP plugin.
So Phonegap IAP plugin support all standard c2 IAP plugin's functions exactly.
Problem is that How we can use standard c2 IAP plugin with the intention which Ashley's thought.
See example_phonegapiap_advanced_requires android application license key.capx
Premium variable is equals to PhonegapIAP.Has product "adremover"
so You can use the condition at the timing of wanting to know whether the product is purchased.
If You want to set Premium variable at first, I can add the event "On restore purchases success" as say.
"On restore purchases success" => "Has product (Premium)" => Set Premium = 1