createAliasWith

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

This function will alias two appUserIDs together.

Parameters

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.

Sources

Link copied to clipboard