DefaultAvailabilityChecker

public class DefaultAvailabilityChecker : AvailabilityChecker

The standard feature availability checker that supports the user toggling features (in User Defaults) that permit this, as well as purchase-based toggling. It caches the results in order to avoid walking the feature graph every time there is a check.

To customise behaviour of user toggling, implement UserFeatureToggles and pass it in to an instance of this class.

To customise behaviour of purchase verification, implement PurchaseValidator and pass it in to an instance of this class.

This class implements the PurchaseRequirement logic to test if they are all met for features that require purchases.