Skip to content

Commit

Permalink
Change setIsUsingAnonymousID to setAllowSharingStoreAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Dec 10, 2018
1 parent ff5f164 commit 2e61010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e61010

Please sign in to comment.