Check if a specific product SKU has been purchased.

NamiPurchaseManager.isSKUIDPurchased(_ skuID: StoreID) -> Bool
[NamiPurchaseManager isSKUIDPurchased: (NSString *) skuID]
NamiPurchaseManager.isSKUIDPurchased(skuID: String): Boolean
boolean NamiPurchaseManager.isSKUIDPurchased(String skuID)
NativeModules.NamiPurchaseManagerBridge.isSKUIDPurchased(string,
  (purchased) => {
    // callback that receives the boolean return value
  }
);
NamiPurchaseManager.isSKUIDPurchased(String skuID) → Future<bool>
bool NamiPurchaseManager.IsSKUIDPurchased(string skuID);

Parameters

  • skuID The id of a product SKU from the Control Center.

Returns
True if the the skuID has been purchased, false otherwise.