Question

We gave an appUserID to all our anonymous users

  • 17 April 2023
  • 1 reply
  • 43 views

Badge +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

1 reply

Userlevel 4
Badge +8

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.

Reply