From f02da2d2aff344971ee591f7b9b6aeca6bd346d3 Mon Sep 17 00:00:00 2001 From: vegaro Date: Fri, 27 Aug 2021 17:48:59 -0700 Subject: [PATCH] changes setup call --- examples/purchaseTester/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/purchaseTester/App.js b/examples/purchaseTester/App.js index 135c6418..d4e99471 100644 --- a/examples/purchaseTester/App.js +++ b/examples/purchaseTester/App.js @@ -43,7 +43,7 @@ export default class App extends React.Component { async componentDidMount() { Purchases.setDebugLogsEnabled(true); - Purchases.setup("api_key"); + Purchases.setup({apiKey: "api_key", useAmazon: true}); try { const purchaserInfo = await Purchases.getPurchaserInfo(); if (typeof purchaserInfo.entitlements.active.pro_cat !== "undefined") {