From 2e610109067702f819441aff693014f44fc86c93 Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Mon, 10 Dec 2018 10:13:36 -0800 Subject: [PATCH] Change setIsUsingAnonymousID to setAllowSharingStoreAccount --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cc384dc4..d94c96eb 100644 --- a/index.js +++ b/index.js @@ -66,8 +66,8 @@ export default class Purchases { If a user tries to purchase a product that is active on the current app store account, we will treat it as a restore and alias the new ID with the previous id. */ - static setIsUsingAnonymousID(isUsingAnonymousID) { - RNPurchases.setIsUsingAnonymousID(isUsingAnonymousID); + static setAllowSharingStoreAccount(allowSharing) { + RNPurchases.setAllowSharingStoreAccount(allowSharing); } /** @callback PurchaseListener