Skip to main content
Question

We gave an appUserID to all our anonymous users

  • April 17, 2023
  • 1 reply
  • 53 views

Forum|alt.badge.img+1

We used to configure revenue cat like this

Purchases.configure({apiKey: XXX})

And we changed it to this

Purchases.configure({apiKey: XXX, appUserID: ourAppUserId})


I am not sure of what happend after this:

  1. Do all our users now have an alias, in this case greate.
  2. Or was a new user created for each user and we need to call syncPurchases 
    1. In this case can we remerge them ? As we know that both users have the same deviceId
This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 582 replies
  • April 27, 2023

Hi, sorry for the delay! After users update the app with this change, they will be logged in with the custom app user id. In order for them to regain purchases from their previous anonymous app user id, they can either restore purchases, or you can call syncPurchases after configure. In this case because these user now have identified app user ids, when they restores purchases this will merge them with their previous anonymous id.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings