purchases / com.revenuecat.purchases / createAliasWith


fun Purchases.createAliasWith(newAppUserID: String, onError: ErrorFunction = onErrorStub, onSuccess: ReceivePurchaserInfoSuccessFunction): Unit

This function will alias two appUserIDs together.


newAppUserID - The current user id will be aliased to the app user id passed in this parameter

onSuccess - Will be called after the call has completed.

onError - Will be called after the call has completed with an error.