purchases / com.revenuecat.purchases / identifyWith

identifyWith

fun Purchases.identifyWith(appUserID: String, onError: ErrorFunction = onErrorStub, onSuccess: ReceivePurchaserInfoSuccessFunction): Unit

This function will change the current appUserID. Typically this would be used after a log out to identify a new user without calling configure

Parameters

appUserID - The new appUserID that should be linked to the currently user

onSuccess - Will be called after the call has completed.

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