DebugPurchaseTracker

public class DebugPurchaseTracker : PurchaseTracker, PurchaseTrackerObserver

A purchase tracker that allows manually setting of purchase status.

This can be used standalone as a fake in-memory purchase tracker, or to proxy another purchase tracker implementation so that you can provide overrides at runtime for easier testing.

On iOS you can use the FlintUI PurchaseBrowserFeature to show a simple UI in your app that will let you view the status of purchases, and if this tracker is used, override the purchase status at runtime for testing.

See

see PurchaseBrowserFeature