I’m building an app where the user can make a purchase without creating an account. In this case, RevenueCat associates the purchase with an anonymous App User ID.
Later, I prompt the user to create an account, and I call:
await Purchases.logIn(newUserId)(Using Flutter SDK)
This correctly links the original anonymous user to the new App User ID (an alias is created in the dashboard), but no TRANSFER webhook is fired.
I’m relying on RevenueCat webhooks to keep my backend subscription data in sync, but in this case no webhook is triggered — so my backend doesn’t get updated.
Questions:
-
Is this expected behavior when logIn() creates an alias rather than transferring the purchase?
-
If so, what’s the recommended way to update my backend in this flow?
