Hi,
I’m evaluating Virtual Currencies for my mobile apps. My apps do not have a login/account system for users, but I always assign my own UUID as the RevenueCat App User ID instead of using anonymous RevenueCat IDs.
My main question is about reinstall behavior.
Scenario:
-
user installs app
-
app is initialized with my own UUID-based App User ID
-
user buys virtual currency and has remaining credits
-
user deletes the app
-
user reinstalls the app
-
app may now generate/store a new UUID and use that as a new App User ID
-
in this case in my other premium based apps, I see a message like “Created a new alias …” in the RevenueCat dashboard
From the docs, the balance endpoint is:
curl --location 'https://api.revenuecat.com/v2/projects/<YOUR_PROJECT_ID>/customers/<YOUR_CUSTOMER_ID>/virtual_currencies' \
--header 'Authorization: Bearer sk_***************************'
My questions are:
-
If a new App User ID is used after reinstall, and RevenueCat creates an alias, will querying
/customers/<NEW_ID>/virtual_currenciesreturn the balances that were originally associated with the old ID? -
Once aliasing happens, do both the old and new IDs return the same virtual currency balance through this endpoint?
-
When the docs say virtual currencies are “not transferable,” does that still apply in this alias case?
I want to understand whether aliasing is enough to preserve remaining virtual currency across reinstall when I do not have a login system.
Thanks.
