awaitLogIn

suspend fun Purchases.awaitLogIn(newAppUserID: String): SuccessfulLogin

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

Parameters

newAppUserID

The new appUserID that should be linked to the currently user

Throws

PurchasesException

in case of an error.