(sku)
| 488 | await installPlugin(manifest.id, undefined, purchaseToken, true); |
| 489 | |
| 490 | async function getPurchase(sku) { |
| 491 | const purchases = await helpers.promisify(iap.getPurchases); |
| 492 | const purchase = purchases.find((p) => p.productIds.includes(sku)); |
| 493 | return purchase; |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | /** |
no outgoing calls
no test coverage detected