I want to confirm: in RevenueCat webhook events, is app_user_id guaranteed to be included in the aliases array? Same question for original_app_user_id.
For this scenario:
- Fresh install, new
$RCAnonymousID:123created,app_user_id=$RCAnonymousID:123 - User taps restore (no
logIn()call in this session) - RevenueCat merges a previously known ID with this new anonymous ID. The previous ID could be either
$RCAnonymousID:567orjohn123(set vialogIn()in a prior session on another device).
At the time the webhook event fires:
- Is
app_user_idthe previous ID ($RCAnonymousID:567orjohn123)? - Does
aliasescontain both the previous ID and the new$RCAnonymousID:123?
I'm pretty sure, but want 100% confirmation.
